linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] the curious case of the semi-created Logical Volume
@ 2001-02-07 15:30 Andy Cowling
  2001-02-08  9:31 ` Patrick Caulfield
  0 siblings, 1 reply; 8+ messages in thread
From: Andy Cowling @ 2001-02-07 15:30 UTC (permalink / raw)
  To: linux-lvm

SuSE 7.0 with 4 x 8Gb SCSI disks. All filesystems are ext2.

I have created PV's, VG's and 2 LV's each of 8Gb and created ext2
filesystems on them and mounted them successfully.

Now I want to extend 'lv02' to 16Gb but lvextend claims the LV is not
active. Similarly lvdisplay only lists the LV using '-d'.

I created this setup using Yast (not the command-line).

Is there any way to retrieve the situation ? I am not at all familiar
with LVM configuration files and this is a live system   :-(

Thanks, as always, for any help.
-- 
Andy Cowling
RedEye International

#  lvextend -L +3920M  /dev/pv01/lv01 /dev/sdb1
lvextend -- logical volume "/dev/pv01/lv01" isn't active
#  lvscan
lvscan -- ACTIVE   "/dev/pv02/lv02" [7.81 GB]
lvscan -- ACTIVE   "/dev/pv01/lv01" [7.84 GB]
lvscan -- 2 logical volumes with 15.65 GB total in 2 volume groups
lvscan -- 2 active logical volumes
#  vgscan
vgscan -- reading all physical volumes (this may take a while...)
vgscan -- found active volume group "pv01"
vgscan -- found active volume group "pv02"
vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created
vgscan -- WARNING: you may not have an actual backup of your volume groups
#  pvscan
pvscan -- reading all physical volumes (this may take a while...)
pvscan -- inactive PV "/dev/sdb1" of VG "pv01" [3.83 GB / 3.83 GB free]
pvscan -- inactive PV "/dev/sdb2" of VG "pv01" [3.83 GB / 0 free]
pvscan -- inactive PV "/dev/sdc2" of VG "pv02" [4.39 GB / 0 free]
pvscan -- inactive PV "/dev/sdc3" of VG "pv01" [4.01 GB / 0 free]
pvscan -- inactive PV "/dev/sdd2" of VG "pv02" [4.39 GB / 1000 MB free]
pvscan -- inactive PV "/dev/sdd3" of VG "pv01" [4.01 GB / 4.01 GB free]
pvscan -- total: 6 [24.48 GB] / in use: 6 [24.48 GB] / in no VG: 0 [0]
#  lvdisplay /dev/pv01/lv01
lvdisplay -- logical volume "/dev/pv01/lv01" is not active; try -D
#  lvdisplay -D /dev/pv01/lv01
--- Logical volume ---
LV Name               /dev/pv01/lv01
VG Name               pv01
LV Write Access       read/write
LV Status             available
LV #                  1
# open                0
LV Size               7.84 GB
Current LE            2007
Allocated LE          2007
Allocation            next free
Read ahead sectors    128
Block device          58:0

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2001-02-08 19:19 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-02-07 15:30 [linux-lvm] the curious case of the semi-created Logical Volume Andy Cowling
2001-02-08  9:31 ` Patrick Caulfield
2001-02-08  9:44   ` Andy Cowling
2001-02-08 10:06     ` Patrick Caulfield
2001-02-08 10:45       ` Andy Cowling
2001-02-08 14:36         ` Patrick Caulfield
2001-02-08 15:29           ` Andy Cowling
2001-02-08 19:19             ` Andreas Dilger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).