RE: Making Partitions Bigger?

2003-03-19 Thread James Francis
James Francis wrote: > Cannon, Andrew wrote: >> Does that apply to LVM partitions too? > For LVM, use e2fsadm. Do a man on e2fsadm. It will work flawlessly. > If you are using ext3 partitions, I would change them to ext2 first. > 1. Umount the partition. > 2. Remove the journal, tune2fs -O^has_

RE: Making Partitions Bigger?

2003-03-19 Thread James Francis
[EMAIL PROTECTED] wrote: > I'm suprised no-one has suggested using parted. The best way I've > found for using parted is run linux in single user mode, unmount > the /var filesystem and from the command-line run parted. > > GNU Parted is a very nice tool but I don't remember it's poss

RE: Making Partitions Bigger?

2003-03-19 Thread James Francis
Cannon, Andrew wrote: > Does that apply to LVM partitions too? For LVM, use e2fsadm. Do a man on e2fsadm. It will work flawlessly. If you are using ext3 partitions, I would change them to ext2 first. 1. Umount the partition. 2. Remove the journal, tune2fs -O^has_journal /dev// 3. Use e2fsadm

Re: Making Partitions Bigger?

2003-03-19 Thread Chris Sherlock
Which is why he should do the print in parted. He may be able to get assistance with the resizing on this list. The info docs have very good examples on what to do if you have hard-drive space but it's scattered around the drive. Incidently, I've found that some older versions of parted don't w

RE: Making Partitions Bigger?

2003-03-19 Thread bollu
ome troubles to do that. Does that apply to LVM partitions too? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 19, 2003 8:19 AM To: [EMAIL PROTECTED] Subject: Re: Making Partitions Bigger? I'm supris

RE: Making Partitions Bigger?

2003-03-19 Thread Cannon, Andrew
Does that apply to LVM partitions too? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 19, 2003 8:19 AM To: [EMAIL PROTECTED] Subject: Re: Making Partitions Bigger? I'm suprised no-one has suggested using parted. The best way I

Re: Making Partitions Bigger?

2003-03-19 Thread bollu
I'm suprised no-one has suggested using parted. The best way I've found for using parted is run linux in single user mode, unmount the /var filesystem and from the command-line run parted. GNU Parted is a very nice tool but I don't remember it's possible to decrease partition size. W

Re: Making Partitions Bigger?

2003-03-19 Thread Chris Sherlock
I'm resending this... having a look at the archives it doesn't appear to have come out too well! Chris On Wed, 2003-03-19 at 18:59, Chris Sherlock wrote: > I'm suprised no-one has suggested using parted. The best way I've found > for using parted is run linux in single user mode, unmount the /var

Re: Making Partitions Bigger?

2003-03-19 Thread Chris Sherlock
I'm suprised no-one has suggested using parted. The best way I've found for using parted is run linux in single user mode, unmount the /var filesystem and from the command-line run parted. [EMAIL PROTECTED] root]# init 1 -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://li

RE: Making Partitions Bigger?

2003-03-18 Thread James Francis
[EMAIL PROTECTED] wrote: > System is running RedHat 7.3. Below is the structure of my partitions > currently. > > [EMAIL PROTECTED] root]# df -h > FilesystemSize Used Avail Use% Mounted on > /dev/sda6 372M 78M 275M 22% / > /dev/sda1 45M 8.8M 34M 21% /

RE: Making Partitions Bigger?

2003-03-18 Thread Billy
When I run "find /var/lib/mysql -print | cpio -dumcv /home/mysql/db" it just displays the cpio usage list? -- Behalf Of Mark Lundy: Nothing wrong with a link. Shut down mysql service - ser

Re: Making Partitions Bigger?

2003-03-18 Thread Mark Lundy
Nothing wrong with a link. Shut down mysql service - service mysqld stop mkdir /home/mysql/db find /var/lib/mysql -print | cpio -dumcv /home/mysql/db mv /var/lib/mysql /var/lib/mysql.ORIG ln -s /home/mysql/db /var/lib/mysql restart mysql - service mysqld start [EMAIL PROTECTED] wrote: System is

Re: Making Partitions Bigger?

2003-03-18 Thread bollu
System is running RedHat 7.3. Below is the structure of my partitions currently. [EMAIL PROTECTED] root]# df -h FilesystemSize Used Avail Use% Mounted on /dev/sda6 372M 78M 275M 22% / /dev/sda1 45M 8.8M 34M 21% /boot /dev/sda5 20G 857M