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

Re: [linux-lvm] can t resize my lvm



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


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