LVM volume disconnected/broke after Fedora 11 upgrade.
Linux - NewbieThis forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I ran it as suggested, but it does not pick up my second disk.
Disk /dev/sdb: 300.0 GB, 300069052416 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 36481 293033601 8e Linux LVM
Here is the results of the scans:
# pvscan
PV /dev/sda2 VG VolGroup00 lvm2 [148.84 GB / 32.00 MB free]
Total: 1 [148.84 GB] / in use: 1 [148.84 GB] / in no VG: 0 [0 ]
# vgscan
Reading all physical volumes. This may take a while...
Found volume group "VolGroup00" using metadata type lvm2
# lvscan
ACTIVE '/dev/VolGroup00/LogVol00' [146.88 GB] inherit
ACTIVE '/dev/VolGroup00/LogVol01' [1.94 GB] inherit
It looks as if the disk "lost" its UUID and such will not show up in any of the scans?
Should I create a new Volume Group and add /dev/sdb1 to it?
Just to clarify, I had 2 Volume Groups, VolGroup00(/dev/sda) and VolGroup01(/dev/sdb). I do not see VolGroup01 anymore. I don't know if this is of help?
the pv should be displayed with pvscan, it looks like it lost his physical volume format, it's really wierd and problematic that something like this happens with an OS upgrade, so I strongly recommend you to open a bug in bugzilla.redhat.com, in order to diagnose what was wrong with fedora people.
I'm curious about what is wrong, please send me the output of:
I did a ls of /dev and do not see the /sdb1 entry only /sdb.
Doing a fdisk -l gives me
Disk /dev/sdb: 300.0 GB, 300069052416 bytes
255 heads, 63 sectors/track, 36481 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x4b3e4b3e
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 36481 293033601 8e Linux LVM
Running pvck and vgimport
# pvck /dev/sdb1
Device /dev/sdb1 not found (or ignored by filtering).
# vgimport -f -v VolGroup01 /dev/sdb1
Using volume group(s) on command line
Finding volume group "VolGroup01"
Wiping cache of LVM-capable devices
Volume group "VolGroup01" not found
Finding volume group "sdb1"
Volume group "sdb1" not found
weird, somehow udev or something like that, is not taking the first partition from you hard disk. I'm going to check what could be wrong, in the middle time. Can you paste your /proc/parttions file?
Sorry for pasting it in here, but I have problems with attaching the file.
I hope I captured everything pertaining the issue.
-->
Linux version 2.6.29.4-167.fc11.x86_64 (mockbuild@xenbuilder4.fedora.phx.redhat.com) (gcc version 4.4.0 20090506 (Red Hat 4.4.0-4) (GCC) ) #1 SMP Wed May 27 17:27:08 EDT 2009
Command line: ro root=UUID=
KERNEL supported cpus: Intel GenuineIntel AMD AuthenticAMD Centaur CentaurHauls
Driver 'sd' needs updating - please use bus_type methods
Driver 'sr' needs updating - please use bus_type methods
ata_piix 0000:00:1f.1: version 2.12
alloc irq_desc for 18 on cpu 0 node 0
alloc kstat_irqs on cpu 0 node 0
ata_piix 0000:00:1f.1: PCI INT A -> GSI 18 (level, low) -> IRQ 18
ata_piix 0000:00:1f.1: setting latency timer to 64
scsi0 : ata_piix
scsi1 : ata_piix
ata1: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0x40b0 irq 14
ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0x40b8 irq 15
ata1.00: ATAPI: PLEXTOR DVDR PX-716AL, 1.00, max UDMA/66
ata1.00: configured for UDMA/66
isa bounce pool size: 16 pages
scsi 0:0:0:0: CD-ROM PLEXTOR DVDR PX-716AL 1.00 PQ: 0 ANSI: 5
sr0: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda caddy
Uniform CD-ROM driver Revision: 3.20
sr 0:0:0:0: Attached scsi CD-ROM sr0
sr 0:0:0:0: Attached scsi generic sg0 type 5
ata2: port disabled. ignoring.
alloc irq_desc for 19 on cpu 0 node 0
alloc kstat_irqs on cpu 0 node 0
ata_piix 0000:00:1f.2: PCI INT B -> GSI 19 (level, low) -> IRQ 19
ata_piix 0000:00:1f.2: MAP [ P0 P2 P1 P3 ]
ata_piix 0000:00:1f.2: setting latency timer to 64
scsi2 : ata_piix
scsi3 : ata_piix
ata3: SATA max UDMA/133 cmd 0x40c8 ctl 0x40e4 bmdma 0x40a0 irq 19
ata4: SATA max UDMA/133 cmd 0x40c0 ctl 0x40e0 bmdma 0x40a8 irq 19
ata3.00: ATA-6: ST3160827AS, 3.42, max UDMA/133
ata3.00: 312581808 sectors, multi 16: LBA48 NCQ (depth 0/32)
ata3.00: configured for UDMA/133
scsi 2:0:0:0: Direct-Access ATA ST3160827AS 3.42 PQ: 0 ANSI: 5
sd 2:0:0:0: [sda] 312581808 512-byte hardware sectors: (160 GB/149 GiB)
sd 2:0:0:0: [sda] Write Protect is off
sd 2:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 2:0:0:0: [sda] 312581808 512-byte hardware sectors: (160 GB/149 GiB)
sd 2:0:0:0: [sda] Write Protect is off
sd 2:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sda: sda1 sda2
sd 2:0:0:0: [sda] Attached SCSI disk
sd 2:0:0:0: Attached scsi generic sg1 type 0
ata4.00: ATA-7: ST3300622AS, 3.AAD, max UDMA/133
ata4.00: 586072368 sectors, multi 16: LBA48 NCQ (depth 0/32)
ata4.00: configured for UDMA/133
scsi 3:0:0:0: Direct-Access ATA ST3300622AS 3.AA PQ: 0 ANSI: 5
sd 3:0:0:0: [sdb] 586072368 512-byte hardware sectors: (300 GB/279 GiB)
sd 3:0:0:0: [sdb] Write Protect is off
sd 3:0:0:0: [sdb] Mode Sense: 00 3a 00 00
sd 3:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 3:0:0:0: [sdb] 586072368 512-byte hardware sectors: (300 GB/279 GiB)
sd 3:0:0:0: [sdb] Write Protect is off
sd 3:0:0:0: [sdb] Mode Sense: 00 3a 00 00
sd 3:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sdb: sdb1
sd 3:0:0:0: [sdb] Attached SCSI disk
sd 3:0:0:0: Attached scsi generic sg2 type 0
[drm] Loading R300 Microcode
[drm] Num pipes: 1
[drm] writeback test succeeded in 1 usecs
[drm] Initialized radeon 1.30.0 20080528 for 0000:01:00.0 on minor 0
input: ImPS/2 Generic Wheel Mouse as /devices/platform/i8042/serio1/input/input4
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
SELinux: Disabled at runtime.
SELinux: Unregistering netfilter hooks
type=1404 audit(1248892452.518:2): selinux=0 auid=4294967295 ses=4294967295
udev: starting version 141
sata_sil 0000:05:05.0: version 2.4
sata_sil 0000:05:05.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
sata_sil 0000:05:05.0: Applying R_ERR on DMA activate FIS errata fix
scsi4 : sata_sil
scsi5 : sata_sil
scsi6 : sata_sil
scsi7 : sata_sil
ata5: SATA max UDMA/100 mmio m1024@0x48104800 tf 0x48104880 irq 17
ata6: SATA max UDMA/100 mmio m1024@0x48104800 tf 0x481048c0 irq 17
ata7: SATA max UDMA/100 mmio m1024@0x48104800 tf 0x48104a80 irq 17
ata8: SATA max UDMA/100 mmio m1024@0x48104800 tf 0x48104ac0 irq 17
input: PC Speaker as /devices/platform/pcspkr/input/input5
iTCO_vendor_support: vendor-support=0
iTCO_wdt: Intel TCO WatchDog Timer Driver v1.05
iTCO_wdt: Found a ICH7DH TCO device (Version=2, TCOBASE=0x0460)
iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
ata5: SATA link down (SStatus 0 SControl 310)
EDAC MC: Ver: 2.1.0 May 27 2009
Linux video capture interface: v2.00
e1000e: Intel(R) PRO/1000 Network Driver - 0.3.3.3-k6
e1000e: Copyright (c) 1999-2008 Intel Corporation.
ata6: SATA link down (SStatus 0 SControl 310)
parport_pc 00:07: reported by Plug and Play ACPI
parport0: PC-style at 0x378 (0x778), irq 7 [PCSPP,TRISTATE]
ppdev: user-space parallel port driver
bttv: driver version 0.9.17 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
ata7: SATA link down (SStatus 0 SControl 310)
ata8: SATA link down (SStatus 0 SControl 310)
i801_smbus 0000:00:1f.3: PCI INT B -> GSI 19 (level, low) -> IRQ 19
ALSA sound/pci/hda/patch_sigmatel.c:2944: stac92xx: dac_nids=4 (0x2/0x4/0x5/0x3/0x0)
input: HDA Intel Line In at Ext Rear Jack as /devices/pci0000:00/0000:00:1b.0/input/input6
input: HDA Intel Mic at Ext Front Jack as /devices/pci0000:00/0000:00:1b.0/input/input7
input: HDA Intel Mic at Ext Rear Jack as /devices/pci0000:00/0000:00:1b.0/input/input8
input: HDA Intel Line In at Ext Rear Jack as /devices/pci0000:00/0000:00:1b.0/input/input9
input: HDA Intel Line Out at Ext Rear Jack as /devices/pci0000:00/0000:00:1b.0/input/input10
input: HDA Intel Line Out at Ext Rear Jack as /devices/pci0000:00/0000:00:1b.0/input/input11
input: HDA Intel Line Out at Ext Rear Jack as /devices/pci0000:00/0000:00:1b.0/input/input12
input: HDA Intel HP Out at Ext Front Jack as /devices/pci0000:00/0000:00:1b.0/input/input13
firewire_core: created device fw0: GUID 0090270001b72299, S400
device-mapper: multipath: version 1.0.5 loaded
device-mapper: table: 253:2: zero-length target
device-mapper: ioctl: error adding target to table
EXT3 FS on dm-0, internal journal
kjournald starting. Commit interval 5 seconds
EXT3 FS on sda1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
swap_cgroup: uses 7936 bytes of vmalloc for pointer array space and 4063232 bytes to hold mem_cgroup pointers on swap
swap_cgroup can be disabled by noswapaccount boot option.
Adding 2031608k swap on /dev/mapper/VolGroup00-LogVol01. Priority:-1 extents:1 across:2031608k
.........
just in case, have you tried a hardware test of this hard disk from your BIOS?
it's really weird, is there any error in /var/log/messages ? Could you paste cit completely/partially into pastebin.ca, just in case that you find something weird.
This drive was used on a promise raid card 2 years ago and I did not remove the raid meta-data from it. I booted with a Fedora 9 live CD and the drive came back to life(with a few tweaks).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.