Changed names of logical disks on recent -CURRENT: part of logical disks not accessible now

gelraen gelraen.ua at gmail.com
Sat Dec 20 20:04:08 UTC 2008


Hello,

I've csup'ed about 1 hour ago (previous csup was few days back),
recompiled kernel and slice names changed from ad0s5 to something like
ad0s3s1, etc.
But in /dev I found only 3 levels of slices:

# ls /dev/ad0s3*
/dev/ad0s3      /dev/ad0s3s1    /dev/ad0s3s2    /dev/ad0s3s2s1  /dev/ad0s3s2s2

>From this list only 2 slices contains real FS: ad0s3s1 and ad0s3s2s1
Before reboot I had 4 logical disks...

Here is output of fdisk:

# fdisk ad0
******* Working on device /dev/ad0 *******
parameters extracted from in-core disklabel are:
cylinders=310101 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=310101 heads=16 sectors/track=63 (1008 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 12 (0x0c),(DOS or Windows 95 with 32 bit FAT (LBA))
    start 63, size 21173607 (10338 Meg), flag 0
        beg: cyl 0/ head 1/ sector 1;
        end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
    start 21173670, size 155236095 (75798 Meg), flag 80 (active)
        beg: cyl 525/ head 10/ sector 1;
        end: cyl 929/ head 10/ sector 63
The data for partition 3 is:
sysid 15 (0x0f),(Extended DOS (LBA))
    start 176409765, size 136166940 (66487 Meg), flag 0
        beg: cyl 1023/ head 0/ sector 1;
        end: cyl 1023/ head 254/ sector 63
The data for partition 4 is:
<UNUSED>

# fdisk ad0s3
******* Working on device /dev/ad0s3 *******
parameters extracted from in-core disklabel are:
cylinders=135086 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=135086 heads=16 sectors/track=63 (1008 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 11 (0x0b),(DOS or Windows 95 with 32 bit FAT)
    start 63, size 31294557 (15280 Meg), flag 0
        beg: cyl 1023/ head 1/ sector 1;
        end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
sysid 5 (0x05),(Extended DOS)
    start 31294620, size 52339770 (25556 Meg), flag 0
        beg: cyl 1023/ head 0/ sector 1;
        end: cyl 1023/ head 254/ sector 63
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>

# fdisk ad0s3s2
******* Working on device /dev/ad0s3s2 *******
parameters extracted from in-core disklabel are:
cylinders=51924 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=51924 heads=16 sectors/track=63 (1008 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 11 (0x0b),(DOS or Windows 95 with 32 bit FAT)
    start 63, size 52339707 (25556 Meg), flag 0
        beg: cyl 1023/ head 1/ sector 1;
        end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
sysid 5 (0x05),(Extended DOS)
    start 83634390, size 20980890 (10244 Meg), flag 0
        beg: cyl 1023/ head 0/ sector 1;
        end: cyl 1023/ head 254/ sector 63
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>

# fdisk ad0s3s2s2
fdisk: could not detect sector size

Data on unaccessible partitions is not critical, so for a while I
wouldn't change anything if you need some additional information.

Some additional information:

# grep -i geom /usr/src/sys/i386/conf/HEAD
options         GEOM_PART_GPT           # GUID Partition Tables.
options         GEOM_LABEL              # Provides labelization

# kldstat
Id Refs Address    Size     Name
 1   50 0xc0400000 6accd8   kernel (/boot/kernel/kernel)
 2    2 0xc0aad000 161c4    drm.ko (/boot/kernel/drm.ko)
 3    1 0xc0ac4000 2abb4    radeon.ko (/boot/kernel/radeon.ko)
 4    1 0xc5249000 10000    geom_eli.ko (/boot/kernel/geom_eli.ko)
 5    1 0xc5404000 7000     linprocfs.ko (/boot/kernel/linprocfs.ko)
 6    1 0xc540b000 24000    linux.ko (/boot/kernel/linux.ko)
 7    1 0xc5806000 4000     ng_socket.ko (/boot/kernel/ng_socket.ko)
 8    1 0xc5813000 4000     ng_mppc.ko (/boot/kernel/ng_mppc.ko)
 9    1 0xc5817000 2000     rc4.ko (/boot/kernel/rc4.ko)
10    1 0xc589e000 3000     ng_iface.ko (/boot/kernel/ng_iface.ko)
11    1 0xc58a2000 7000     ng_ppp.ko (/boot/kernel/ng_ppp.ko)
12    1 0xc58b9000 e000     fuse.ko (/usr/local/modules/fuse.ko)
13    1 0xc69df000 3000     ng_tee.ko (/boot/kernel/ng_tee.ko)
14    1 0xc69e2000 4000     ng_pptpgre.ko (/boot/kernel/ng_pptpgre.ko)
15    1 0xc69e6000 5000     ng_ksocket.ko (/boot/kernel/ng_ksocket.ko)


More information about the freebsd-current mailing list