Holas,
After a week or so of upgrading gcc, emerge -e world/system, watching hal/dbus
toggle between +/- 0.5 versions, and having gentoo upgrade udev while I'm
doing all this, I've finally got a clean, rebuilt system.
revdep-rebuild gives comes up clean.
emerge -autvDN world comes up empty.
emerge -a depclean says I don't have to do anything.
However, upon reboot, I can't get a USB backup drive to mount correctly.
It's an LVM2 partition that should show up as vgusbhd, mounted to /mnt/usbhd.
Something seems to die between vgscan finding the drive/partition, and udev
creating a /dev/mapper/vgusb* mountpoint. It has no problem finding the
other /hd* LVM2 partitions. Seems only the /dev/sda partition is missing.
Of course, it's the only usb/sd* drive on the system.
crichton ~ # vgscan
Reading all physical volumes. This may take a while...
Found volume group "vgiso" using metadata type lvm2
Found volume group "vg" using metadata type lvm2
Found volume group "vgexport" using metadata type lvm2
Found volume group "vgusbhd" using metadata type lvm2
crichton ~ # ll /dev/vgusb/usbhd
lrwxrwxrwx 1 root root 7 Dec 10 16:07 /dev/vgusb/usbhd -> ../sda1
And the udev rule that seems to work, since there is a link
BUS="usb", KERNEL="sd*1", SYSFS{product}="USB 2.0 Storage Device",
SYSFS{serial}="000422222000000*****", NAME="%k", SYMLINK="vgusb/usbhd"
crichton ~ # ll /dev/mapper/
total 0
drwxr-xr-x 2 root root 200 Dec 10 15:59 .
drwxr-xr-x 18 root root 13940 Dec 10 16:14 ..
crw-rw---- 1 root root 10, 63 Dec 10 15:59 control
brw------- 1 root root 254, 4 Dec 10 15:59 vg-portage
brw------- 1 root root 254, 5 Dec 10 15:59 vg-source
brw------- 1 root root 254, 3 Dec 10 15:59 vg-sysbackup
brw------- 1 root root 254, 1 Dec 10 15:59 vg-usr
brw------- 1 root root 254, 2 Dec 10 15:59 vg-usrlocal
brw------- 1 root root 254, 6 Dec 10 15:59 vgexport-export
brw------- 1 root root 254, 0 Dec 10 15:59 vgiso-isoserver
As you can see, there is no /dev/mapper/vgusb.
>From /etc/fstab...
/dev/mapper/vgusbhd-usbhd /mnt/usbhd ext3 atime 0 0
Trying to mount the drive directly to /dev/sda1 doesn't work, either
crichton ~ # mount -t ext3 /dev/sda1 /mnt/usbhd/
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
crichton ~ # dmesg | tail
<snip>
VFS: Can't find ext3 filesystem on dev sda1.
The drive has an ext3 fs on it. It worked until the reboot. But it's (as
indicated) an LVM partition.
crichton ~ # fdisk -l
<snip>
Disk /dev/sda: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 9119 73248336 8e Linux LVM
So, is there a simple command that will get me going? Everything I saw on
Google says "upon reboot, you should have..."
I don't.
Thanks.
Peter
--
Misery loves company, but company does not reciprocate.
--
[email protected] mailing list