#fsck -y /dev/ad0
fsck: Could not determine filesystem type
#swapinfo
Device 1K-blocks Used Avail Capacity
/dev/mirror/gm0s1b 3145728 4 3145724 0%
$gmirror insert gm0 /dev/ad0
Not all disks connected.
$gstat
dT: 0.501 flag_I 500000us sizeof 240 i -1
L(q) ops/s r/s kBps ms/r w/s kBps ms/w %busy Name
0 0 0 0 0.0 0 0 0.0 0.0| ad0
0 0 0 0 0.0 0 0 0.0 0.0| ad1
0 0 0 0 0.0 0 0 0.0 0.0| acd0
0 0 0 0 0.0 0 0 0.0 0.0| ad1s1
0 0 0 0 0.0 0 0 0.0 0.0| mirror/gm0
0 0 0 0 0.0 0 0 0.0 0.0| ad1s1a
0 0 0 0 0.0 0 0 0.0 0.0| ad1s1b
0 0 0 0 0.0 0 0 0.0 0.0| ad1s1c
0 0 0 0 0.0 0 0 0.0 0.0| ad1s1d
0 0 0 0 0.0 0 0 0.0 0.0| mirror/gm0s1
0 0 0 0 0.0 0 0 0.0 0.0| ad1s1e
0 0 0 0 0.0 0 0 0.0 0.0| ad1s1f
0 0 0 0 0.0 0 0 0.0 0.0| mirror/gm0s1a
0 0 0 0 0.0 0 0 0.0 0.0| mirror/gm0s1b
0 0 0 0 0.0 0 0 0.0 0.0| mirror/gm0s1c
0 0 0 0 0.0 0 0 0.0 0.0| mirror/gm0s1d
0 0 0 0 0.0 0 0 0.0 0.0| mirror/gm0s1e
0 0 0 0 0.0 0 0 0.0 0.0| mirror/gm0s1f
l$fsck
** /dev/mirror/gm0s1a (NO WRITE)
** Last Mounted on /
** Root file system
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
2056 files, 102849 used, 403638 free (414 frags, 50403 blocks, 0.1% fragmentation)
** /dev/mirror/gm0s1d (NO WRITE)
** Last Mounted on /tmp
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
SUMMARY BLK COUNT(S) WRONG IN SUPERBLK
SALVAGE? no
1871 files, 249361 used, 1273142 free (366 frags, 159097 blocks, 0.0% fragmentation)
** /dev/mirror/gm0s1f (NO WRITE)
** Last Mounted on /usr
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
243924 files, 1944673 used, 4170710 free (31862 frags, 517356 blocks, 0.5% fragmentation)
** /dev/mirror/gm0s1e (NO WRITE)
** Last Mounted on /var
** Phase 1 - Check Blocks and Sizes
INCORRECT BLOCK COUNT I=7749022 (20928 should be 20896)
CORRECT? no
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
UNREF FILE I=6900767 OWNER=root MODE=140666
SIZE=0 MTIME=Mar 29 12:25 2009
CLEAR? no
** Phase 5 - Check Cyl groups
FREE BLK COUNT(S) WRONG IN SUPERBLK
SALVAGE? no
SUMMARY INFORMATION BAD
SALVAGE? no
BLK(S) MISSING IN BIT MAPS
SALVAGE? no
$fsck_ffs -b 0 /dev/ad0
Alternate super block location: 0
** /dev/ad0
Cannot find file system superblock
ioctl (GCINFO): Inappropriate ioctl for device
fsck_ffs: /dev/ad0: can't read disk label
root@ns2:/home/unreal$fsck_ffs -b 0 /dev/ad1
Alternate super block location: 0
** /dev/ad1
Cannot find file system superblock
ioctl (GCINFO): Inappropriate ioctl for device
fsck_ffs: /dev/ad1: can't read disk label