On Sat, Sep 11, 2010 at 05:21:44PM +0200, Florian Kulzer wrote: > On Fri, Sep 10, 2010 at 13:13:50 -0400, Stephen Powell wrote: > > On Fri, 10 Sep 2010 12:47:33 -0400 (EDT), Rick Pasotto wrote: > > > On Fri, Sep 10, 2010 at 12:18:07PM -0400, Stephen Powell wrote: > > >> What happens if, after the system has booted, > > >> you issue a manual mount command as root, using the new device > > >> name? > > >> > > >> mount -t ext3 /dev/sdc1 /hd0 > > > > > > That works perfectly. > > [...] > > > >> then try > > >> > > >> umount /hd0 > > >> mount -t ext3 UUID=03c23684-dea8-458d-b04b-0ae8a056cb0d /hd0 > > > > > > mount: special device UUID=03c23684-dea8-458d-b04b-0ae8a056cb0d does not > > > exist > > >> > > >> then try > > >> > > >> umount /hd0 > > >> mount -t ext3 LABEL=hdb1 /hd0 > > > > > > mount: special device LABEL=hdb1 does not exist > > [...] > > > OK, this looks like a udev problem of some sort. The udev aliases > > are not being created. I'm not sure why yet. > > My guess would be that blkid does not read the UUID and label of the > partition correctly. AFAIK, udev relies on blkid to obtain the > information that is necessary to populate the /dev/disk/by-label/ and > /dev/disk/by-uuid/ directories. Here is an example of how it should > work: > > $ /sbin/blkid /dev/sda5 > /dev/sda5: LABEL="root" UUID="d0100d2c-69e9-4a37-bf17-9af5ff151032" > TYPE="ext3" > > Rick, if "/sbin/blkid /dev/sdc1" fails report anything on your system > then show us the output of: > > BLKID_DEBUG=0xffff /sbin/blkid /dev/sdc1
If by "fail" you mean no output then it failed, so: niof:~# BLKID_DEBUG=0xffff /sbin/blkid /dev/sdc1 > blkid.out reading config file: /etc/blkid.conf. /etc/blkid.conf: does not exist, using built-in default Here's the sdc1 stanza (do you need what it showed for the other devices?): need to revalidate /dev/sdc1 (cache time 2147483648, stat time 1284082698, time since last check 3431704611) ready for low-probing, offset=0, size=20003848704 chain safeprobe superblocks ENABLED --> starting probing loop [SUBLKS idx=-1] [0] linux_raid_member: call probefunc() buffer read: off=20003749888 len=64 buffer read: off=20003840000 len=64 buffer read: off=0 len=64 buffer read: off=4096 len=64 [1] ddf_raid_member: call probefunc() buffer read: off=20003848192 len=40 buffer read: off=20003717120 len=40 [2] isw_raid_member: call probefunc() buffer read: off=20003847680 len=48 [3] lsi_mega_raid_member: call probefunc() reuse buffer: off=20003848192 len=40 [4] via_raid_member: call probefunc() buffer read: off=20003848192 len=51 [5] silicon_medley_raid_member: call probefunc() buffer read: off=20003848192 len=292 [6] nvidia_raid_member: call probefunc() reuse buffer: off=20003847680 len=48 [7] promise_fasttrack_raid_member: call probefunc() buffer read: off=20003816448 len=24 buffer read: off=20003718144 len=24 buffer read: off=20003717632 len=24 buffer read: off=20003840512 len=24 buffer read: off=20003644416 len=24 [8] hpt45x_raid_member: call probefunc() buffer read: off=20003843072 len=4 [9] hpt37x_raid_member: buffer read: off=4096 len=1024 reuse buffer: off=4096 len=1024 [10] adaptec_raid_member: call probefunc() buffer read: off=20003848192 len=512 [11] jmicron_raid_member: call probefunc() reuse buffer: off=20003848192 len=40 [12] drbd: call probefunc() buffer read: off=20003844608 len=4096 [13] LVM2_member: buffer read: off=0 len=1024 reuse buffer: off=0 len=1024 buffer read: off=1024 len=1024 reuse buffer: off=1024 len=1024 [14] LVM1_member: reuse buffer: off=0 len=1024 [15] DM_snapshot_cow: reuse buffer: off=0 len=1024 [16] crypto_LUKS: reuse buffer: off=0 len=1024 [17] VMFS_volume_member: buffer read: off=1048576 len=1024 [18] vfat: reuse buffer: off=0 len=1024 reuse buffer: off=0 len=1024 magic sboff=82, kboff=0 call probefunc() reuse buffer: off=0 len=1024 reuse buffer: off=0 len=1024 look for label in root-dir (entries: 512, offset: 9779200) buffer read: off=9779200 len=16384 buffer read: off=16392 len=16384 reuse buffer: off=0 len=1024 assigning LABEL [superblocks] assigning UUID [superblocks] assigning TYPE [superblocks] <-- leaving probing loop (type=vfat) [SUBLKS idx=18] --> starting probing loop [SUBLKS idx=18] [19] swsuspend: buffer read: off=3072 len=1024 reuse buffer: off=3072 len=1024 reuse buffer: off=3072 len=1024 reuse buffer: off=3072 len=1024 buffer read: off=7168 len=1024 reuse buffer: off=7168 len=1024 reuse buffer: off=7168 len=1024 reuse buffer: off=7168 len=1024 buffer read: off=15360 len=1024 reuse buffer: off=15360 len=1024 reuse buffer: off=15360 len=1024 reuse buffer: off=15360 len=1024 reuse buffer: off=16392 len=16384 reuse buffer: off=16392 len=16384 reuse buffer: off=16392 len=16384 reuse buffer: off=16392 len=16384 buffer read: off=64512 len=1024 reuse buffer: off=64512 len=1024 reuse buffer: off=64512 len=1024 reuse buffer: off=64512 len=1024 [20] swap: reuse buffer: off=3072 len=1024 reuse buffer: off=3072 len=1024 reuse buffer: off=7168 len=1024 reuse buffer: off=7168 len=1024 reuse buffer: off=15360 len=1024 reuse buffer: off=15360 len=1024 reuse buffer: off=16392 len=16384 reuse buffer: off=16392 len=16384 reuse buffer: off=64512 len=1024 reuse buffer: off=64512 len=1024 [21] xfs: reuse buffer: off=0 len=1024 [22] ext4dev: reuse buffer: off=1024 len=1024 magic sboff=56, kboff=1 call probefunc() reuse buffer: off=1024 len=1024 [23] ext4: reuse buffer: off=1024 len=1024 magic sboff=56, kboff=1 call probefunc() reuse buffer: off=1024 len=1024 [24] ext3: reuse buffer: off=1024 len=1024 magic sboff=56, kboff=1 call probefunc() reuse buffer: off=1024 len=1024 ext2_sb.compat = 00000004:00000006:00000003 assigning LABEL [superblocks] assigning UUID [superblocks] assigning TYPE [superblocks] <-- leaving probing loop (type=ext3) [SUBLKS idx=24] --> starting probing loop [SUBLKS idx=24] [25] ext2: reuse buffer: off=1024 len=1024 magic sboff=56, kboff=1 call probefunc() reuse buffer: off=1024 len=1024 [26] jbd: reuse buffer: off=1024 len=1024 magic sboff=56, kboff=1 call probefunc() reuse buffer: off=1024 len=1024 [27] reiserfs: buffer read: off=8192 len=1024 buffer read: off=65536 len=1024 reuse buffer: off=65536 len=1024 reuse buffer: off=65536 len=1024 reuse buffer: off=8192 len=1024 [28] reiser4: reuse buffer: off=65536 len=1024 [29] jfs: buffer read: off=32768 len=1024 [30] udf: reuse buffer: off=32768 len=1024 reuse buffer: off=32768 len=1024 reuse buffer: off=32768 len=1024 reuse buffer: off=32768 len=1024 reuse buffer: off=32768 len=1024 reuse buffer: off=32768 len=1024 reuse buffer: off=32768 len=1024 [31] iso9660: reuse buffer: off=32768 len=1024 reuse buffer: off=32768 len=1024 [32] zfs: buffer read: off=131072 len=1024 reuse buffer: off=131072 len=1024 buffer read: off=135168 len=1024 reuse buffer: off=135168 len=1024 buffer read: off=139264 len=1024 reuse buffer: off=139264 len=1024 buffer read: off=393216 len=1024 reuse buffer: off=393216 len=1024 buffer read: off=397312 len=1024 reuse buffer: off=397312 len=1024 buffer read: off=401408 len=1024 reuse buffer: off=401408 len=1024 [33] hfsplus: reuse buffer: off=1024 len=1024 reuse buffer: off=1024 len=1024 reuse buffer: off=1024 len=1024 [34] hfs: reuse buffer: off=1024 len=1024 [35] ufs: call probefunc() buffer read: off=0 len=1377 buffer read: off=8192 len=1377 buffer read: off=65536 len=1377 buffer read: off=262144 len=1377 [36] hpfs: reuse buffer: off=8192 len=1024 [37] sysv: call probefunc() reuse buffer: off=0 len=1024 buffer read: off=9728 len=512 reuse buffer: off=15360 len=1024 reuse buffer: off=16392 len=16384 [38] xenix: buffer read: off=2048 len=1024 reuse buffer: off=2048 len=1024 [39] ntfs: reuse buffer: off=0 len=1024 [40] cramfs: reuse buffer: off=0 len=1024 reuse buffer: off=0 len=1024 [41] romfs: reuse buffer: off=0 len=1024 [42] minix: reuse buffer: off=1024 len=1024 reuse buffer: off=1024 len=1024 reuse buffer: off=1024 len=1024 reuse buffer: off=1024 len=1024 reuse buffer: off=1024 len=1024 [43] gfs: reuse buffer: off=65536 len=1024 [44] gfs2: reuse buffer: off=65536 len=1024 [45] ocfs: reuse buffer: off=8192 len=1024 [46] ocfs2: reuse buffer: off=1024 len=1024 reuse buffer: off=2048 len=1024 reuse buffer: off=4096 len=1024 reuse buffer: off=8192 len=1024 [47] oracleasm: reuse buffer: off=0 len=1024 [48] vxfs: reuse buffer: off=1024 len=1024 [49] squashfs: reuse buffer: off=0 len=1024 reuse buffer: off=0 len=1024 reuse buffer: off=0 len=1024 reuse buffer: off=0 len=1024 [50] nss: reuse buffer: off=4096 len=1024 [51] btrfs: reuse buffer: off=65536 len=1024 [52] ubifs: reuse buffer: off=0 len=1024 [53] bfs: reuse buffer: off=0 len=1024 [54] VMFS: buffer read: off=2097152 len=1024 <-- leaving probing loop (failed) [SUBLKS idx=54] ERROR: superblocks chain: ambivalent result detected (2 filesystems)! freeing dev /dev/sdc1 ((null)) dev: name = /dev/sdc1 dev: DEVNO="0x0" dev: TIME="-2147483648" dev: PRI="0" dev: flags = 0x00000000 The last part of the output for /dev/sdc5 is: <-- leaving probing loop (failed) [SUBLKS idx=54] ERROR: superblocks chain: ambivalent result detected (2 filesystems)! freeing dev /dev/sdc5 ((null)) dev: name = /dev/sdc5 dev: DEVNO="0x0" dev: TIME="-2147483648" dev: PRI="0" dev: flags = 0x00000000 So, will fsck fix it? -- "In 1792, there was [enacted] a death penalty for counterfeiting. I think it should be applied to the Federal Reserve." -- Ron Paul Rick Pasotto r...@niof.net http://www.niof.net -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20100911161643.gs28...@niof.net