Re: Adding a new hard drive to LVM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> On Tue, 2005-06-07 at 19:35 +0100, Derek Scollon wrote:
>> I'm running FC3 and currently have one 300GB SATA drive which looks like this.
>> 
>> Filesystem           1K-blocks      Used Available Use% Mounted on
>> /dev/mapper/VolGroup00-LogVol00
>>                      286285288 239994144  31748708  89% /
>> /dev/sda1               101086     33733     62134  36% /boot
>> none                    517796         0    517796   0% /dev/shm
>> 
>>  I've added a second drive today and am following the instructions here...
>> 
>> http://www.hants.lug.org.uk/cgi-bin/wiki.pl?action=browse&id=LinuxHints/LogicalVolumeManagement&oldid=LogicalVolumeManagement
>> (section titled "Adding another disk")
>> 
>> ...to add this drive to the volume group. I've successfully got
>> as far as step 5 and hit a problem, since trying to unmount that
>> volume group tells me that / is in use. Trying step 6 warns me that
>> running e2fsck on a mounted filesystem can cause severe damage, at
>> which point I chicken out. Is it safe to skip to step 7 and run
>> resize2fs without unmounting the filesystem first or should I be
>> doing something different?

> This may or may not work, but it's safe and it'll just refuse to do it
> if it can't:

> # ext2online /dev/VolGroup00/LogVol00

> You don't need to unmount the partition; in fact it won't work if you
> do.

> This assumes you're using an ext2 or ext3 filesystem.

> Paul.
> -- 
> Paul Howarth <paul@xxxxxxxxxxxx>


This worked perfectly, thanks. Churned away on the hard drives for 5 minutes or so and ended up with one volume 44% full, as expected.

-- 
Derek


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux