Re: can t resize my lvm

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

 



And now I do:
vdr:~# vgchange -an LVM2
vgchange -- volume group "LVM2" successfully deactivated

vdr:~# pvcreate -vff /dev/hdc1
pvcreate -- locking logical volume manager
pvcreate -- checking physical volume name "/dev/hdc1"
pvcreate -- getting physical volume size
pvcreate -- checking maximum physical volume size
pvcreate -- checking partition type
pvcreate -- checking volume group name
pvcreate -- really INITIALIZE physical volume "/dev/hdc1" of volume group 
"LVM2" [y/n]? y
pvcreate -- WARNING: forcing physical volume creation on "/dev/hdc1" of 
volume group "LVM2"
pvcreate -- removing lvmtab entry
pvcreate -- creating new physical volume
pvcreate -- setting up physical volume for /dev/hdc1 with 195318207 sectors
pvcreate -- writing physical volume data to disk "/dev/hdc1"
pvcreate -- physical volume "/dev/hdc1" successfully created
pvcreate -- unlocking logical volume manager

and hove no more access to the volume group.
But it exists:
vdr:~# dir /dev/LVM2/Media
/dev/LVM2/Media

-- 
Don't Panic

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux