Hi,
i turn on the drive (dmesg output is OK), but i cannot see the lvm device in /dev. "vgchange -a y" doesn't show it either. Afterwards i try to remove it, but get "Volume group "backup" still contains 1 logical volume(s)". Then "vgchange -a y" shows it! What's wrong?
System: Debian Etch 2.6.17-2-vserver-amd64
Code:
vakhos:~# dmesg
.....
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
Vendor: WDC WD32 Model: WD-WCAMR3818571 Rev: 5J08
Type: Direct-Access ANSI SCSI revision: 02
usb-storage: device scan complete
SCSI device sda: 625142448 512-byte hdwr sectors (320073 MB)
sda: Write Protect is off
sda: Mode Sense: 00 38 00 00
sda: assuming drive cache: write through
SCSI device sda: 625142448 512-byte hdwr sectors (320073 MB)
sda: Write Protect is off
sda: Mode Sense: 00 38 00 00
sda: assuming drive cache: write through
sda: sda1
sd 2:0:0:0: Attached scsi disk sda
vakhos:~# vgchange -a y
4 logical volume(s) in volume group "swarm" now active
5 logical volume(s) in volume group "x86" now active
1 logical volume(s) in volume group "pimp" now active
1 logical volume(s) in volume group "web-main" now active
1 logical volume(s) in volume group "store1" now active
5 logical volume(s) in volume group "home" now active
vakhos:~# ls /dev/ba*
ls: /dev/ba*: No such file or directory
vakhos:~# vgremove /dev/backup
Volume group "backup" still contains 1 logical volume(s)
vakhos:~# vgchange -a y
4 logical volume(s) in volume group "swarm" now active
5 logical volume(s) in volume group "x86" now active
1 logical volume(s) in volume group "pimp" now active
1 logical volume(s) in volume group "web-main" now active
1 logical volume(s) in volume group "store1" now active
5 logical volume(s) in volume group "home" now active
1 logical volume(s) in volume group "backup" now active
vakhos:~# ls /dev/ba*
main