Есть диск:
/dev/ada0p2 on / (ufs, local, noatime, suiddir, journaled soft-updates)
/dev/ada0p4 on /var (ufs, local, journaled soft-updates)
/dev/ada0p5 on /tmp (ufs, local, noatime, journaled soft-updates)
/dev/ada0p6 on /usr (ufs, local, noatime, journaled soft-updates)
/dev/ada0p7 on /data (ufs, local, noatime, suiddir, soft-updates)cat /etc/fstab
# Device Mountpoint FStype Options Dump Pass#
/dev/ada0p3 none swap sw 0 0
/dev/ada0p2 / ufs rw,userquota,groupquota,noatime,suiddir 1 1
/dev/ada0p4 /var ufs rw 0 2
/dev/ada0p5 /tmp ufs rw,userquota,groupquota,noatime 0 2
/dev/ada0p6 /usr ufs rw,userquota,groupquota,noatime 2 2
/dev/ada0p7 /data ufs rw,userquota,groupquota,noatime,suiddir 2 2
# testdisk /list /log /dev/ada0
TestDisk 6.13, Data Recovery Utility, November 2011
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
Please wait...
Disk /dev/ada0 - 500 GB / 465 GiB - CHS 969021 16 63, sector size=512
Disk /dev/ada0 - 500 GB / 465 GiB - CHS 969021 16 63
Partition Start End Size in sectors
1 P Unknown 40 167 128
2 P FreeBSD UFS 168 41943071 41942904
3 P FreeBSD Swap 966787104 975175711 8388608
4 P FreeBSD UFS 41943072 62914591 20971520
5 P FreeBSD UFS 62914592 71303199 8388608
6 P FreeBSD UFS 71303200 113246239 41943040
7 P FreeBSD UFS 113246240 966787103 853540864
fdisk
******* Working on device /dev/ada0 *******
parameters extracted from in-core disklabel are:
cylinders=969021 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=969021 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 238 (0xee),(EFI GPT)
start 1, size 976773167 (476940 Meg), flag 80 (active)
beg: cyl 0/ head 0/ sector 2;
end: cyl 1023/ head 255/ sector 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>
fdisk -p
# /dev/ada0
g c969021 h16 s63
p 1 0xee 1 976773167
a 1
При загрузке все монтируется, кроме swap.
Но вот такая фигня:
bsdlabel ada0
bsdlabel: /dev/ada0: no valid label found
Как с эти бороться, т.е. привести в соответствие бывшей нормальности.
Сие случилось после перехода с RELEASE9.2 на RELEASE10