geom_vol_ffs problems
Per Kristian Hove
Per.Hove at math.ntnu.no
Wed Jun 4 07:44:25 PDT 2003
I have problems getting geom_vol_ffs to recognise one of my file
systems. I set sysctl kern.geom.debugflags=1, and then label ad0s3a
and ad0s3e:
# cd /dev/vol
# ls -l
# tunefs -L 'curroot' /dev/ad0s3a
# ls -l
total 0
crw-r----- 1 root operator 4, 42 Jun 4 13:41 curroot
# tunefs -L 'curvar' /dev/ad0s3e
The kernel messages printed after running this last command are
attached in "dmesg.ad0s3e".
# ls -l
total 0
crw-r----- 1 root operator 4, 42 Jun 4 13:41 curroot
crw-r----- 1 root operator 4, 43 Jun 4 13:41 curvar
So far, so good. Then I label ad0s3f:
# tunefs -L 'curusr' /dev/ad0s3f
# ls -l
total 0
crw-r----- 1 root operator 4, 42 Jun 4 13:41 curroot
crw-r----- 1 root operator 4, 43 Jun 4 13:41 curvar
No /dev/vol/curusr appears. The kernel messages printed after running
this "tunefs" are attached in "dmesg.ad0s3f".
Kernel: 5.1-BETA2 (GENERIC + GEOM_BDE + GEOM_BSD + GEOM_MBR +
GEOM_VOL). Disk layout:
# bsdlabel -r ad0s3
# /dev/ad0s3:
8 partitions:
# size offset fstype [fsize bsize bps/cpg]
a: 409600 0 4.2BSD 0 0 0
b: 524288 409600 swap
c: 4192965 0 unused 0 0 # "raw" part, don't edit
e: 204800 933888 4.2BSD 0 0 0
f: 3054277 1138688 4.2BSD 0 0 0
# tunefs -p /dev/ad0s3e
tunefs: ACLs: (-a) disabled
tunefs: MAC multilabel: (-l) disabled
tunefs: soft updates: (-n) enabled
tunefs: maximum blocks per file in a cylinder group: (-e) 2048
tunefs: average file size: (-f) 16384
tunefs: average number of files in a directory: (-s) 64
tunefs: minimum percentage of free space: (-m) 8%
tunefs: optimization preference: (-o) time
tunefs: volume label: (-L) curvar
# tunefs -p /dev/ad0s3f
tunefs: ACLs: (-a) disabled
tunefs: MAC multilabel: (-l) disabled
tunefs: soft updates: (-n) enabled
tunefs: maximum blocks per file in a cylinder group: (-e) 2048
tunefs: average file size: (-f) 16384
tunefs: average number of files in a directory: (-s) 64
tunefs: minimum percentage of free space: (-m) 8%
tunefs: optimization preference: (-o) time
tunefs: volume label: (-L) curusr
# df /dev/ad0s3e
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/ad0s3e 99191 484 90772 1%
# df /dev/ad0s3f
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/ad0s3f 1480337 470689 891222 35%
# df
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/ad0s2a 198463 115203 67383 63% /
devfs 1 1 0 100% /dev
/dev/ad0s2e 99191 6462 84794 7% /var
/dev/ad0s2f 9382546 4862871 3769072 56% /usr
/dev/ad0s4 16458576 15268864 1189712 93% /d
/dev/md0 256812 4 236264 0% /tmp
"sysctl -b kern.geom.confxml" output attached as "dmesg.confxml".
Is this an obvious pilot error on my side, or a bug in geom_vol_ffs?
--
Per Kristian Hove
Dept. of Mathematical Sciences
Norwegian University of Science and Technology
-------------- next part --------------
g_post_event_x(0xc02e44c0, 0xc41e7600, 2
ref 0xc41e7600
g_post_event_x(0xc02e44c0, 0xc41d5280, 2
ref 0xc41d5280
g_post_event_x(0xc02e38d0, 0xc41e7600, 2
ref 0xc41e7600
g_post_event_x(0xc02e38d0, 0xc41d5280, 2
ref 0xc41d5280
vol_taste(VOL_FFS,ad0s3)
g_slice_spoiled(0xc45e9c40/ad0s3)
g_wither_geom(0xc4520700(ad0s3))
g_detach(0xc45e9c40)
g_destroy_consumer(0xc45e9c40)
g_destroy_geom(0xc4520700(ad0s3))
g_mbrext_taste(MBREXT,ad0s3)
g_slice_spoiled(0xc45e9c40/ad0s3)
g_wither_geom(0xc4520680(ad0s3))
g_detach(0xc45e9c40)
g_destroy_consumer(0xc45e9c40)
g_destroy_geom(0xc4520680(ad0s3))
mbr_taste(MBR,ad0s3)
g_slice_spoiled(0xc45e9b40/ad0s3)
g_wither_geom(0xc4520580(ad0s3))
g_detach(0xc45e9b40)
g_destroy_consumer(0xc45e9b40)
g_destroy_geom(0xc4520580(ad0s3))
bsd_taste(BSD,ad0s3f)
g_slice_spoiled(0xc45e9a40/ad0s3f)
g_wither_geom(0xc4520680(ad0s3f))
g_detach(0xc45e9a40)
g_destroy_consumer(0xc45e9a40)
g_destroy_geom(0xc4520680(ad0s3f))
vol_taste(VOL_FFS,ad0s3f)
g_slice_spoiled(0xc45e9a40/ad0s3f)
g_wither_geom(0xc4520600(ad0s3f))
g_detach(0xc45e9a40)
g_destroy_consumer(0xc45e9a40)
g_destroy_geom(0xc4520600(ad0s3f))
g_mbrext_taste(MBREXT,ad0s3f)
mbr_taste(MBR,ad0s3f)
g_slice_spoiled(0xc45e9a40/ad0s3f)
g_wither_geom(0xc4520700(ad0s3f))
g_detach(0xc45e9a40)
g_destroy_consumer(0xc45e9a40)
g_destroy_geom(0xc4520700(ad0s3f))
-------------- next part --------------
g_post_event_x(0xc02e44c0, 0xc41e7600, 2
ref 0xc41e7600
g_post_event_x(0xc02e44c0, 0xc41d5380, 2
ref 0xc41d5380
g_post_event_x(0xc02e38d0, 0xc41e7600, 2
ref 0xc41e7600
g_post_event_x(0xc02e38d0, 0xc41d5380, 2
ref 0xc41d5380
vol_taste(VOL_FFS,ad0s3)
g_slice_spoiled(0xc4645000/ad0s3)
g_wither_geom(0xc4520c00(ad0s3))
g_detach(0xc4645000)
g_destroy_consumer(0xc4645000)
g_destroy_geom(0xc4520c00(ad0s3))
g_mbrext_taste(MBREXT,ad0s3)
g_slice_spoiled(0xc4645040/ad0s3)
g_wither_geom(0xc4521980(ad0s3))
g_detach(0xc4645040)
g_destroy_consumer(0xc4645040)
g_destroy_geom(0xc4521980(ad0s3))
mbr_taste(MBR,ad0s3)
g_slice_spoiled(0xc4645100/ad0s3)
g_wither_geom(0xc4520b00(ad0s3))
g_detach(0xc4645100)
g_destroy_consumer(0xc4645100)
g_destroy_geom(0xc4520b00(ad0s3))
bsd_taste(BSD,ad0s3e)
g_slice_spoiled(0xc4645140/ad0s3e)
g_wither_geom(0xc4520980(ad0s3e))
g_detach(0xc4645140)
g_destroy_consumer(0xc4645140)
g_destroy_geom(0xc4520980(ad0s3e))
vol_taste(VOL_FFS,ad0s3e)
g_slice_config(ad0s3e, 0, 1)
g_post_event_x(0xc02e38d0, 0xc4520900, 2
ref 0xc4520900
g_mbrext_taste(MBREXT,ad0s3e)
mbr_taste(MBR,ad0s3e)
g_slice_spoiled(0xc46452c0/ad0s3e)
g_wither_geom(0xc42eba80(ad0s3e))
g_detach(0xc46452c0)
g_destroy_consumer(0xc46452c0)
g_destroy_geom(0xc42eba80(ad0s3e))
dev_taste(DEV,vol/curvar)
bsd_taste(BSD,vol/curvar)
g_slice_spoiled(0xc46455c0/vol/curvar)
g_wither_geom(0xc42ea780(vol/curvar))
g_detach(0xc46455c0)
g_destroy_consumer(0xc46455c0)
g_destroy_geom(0xc42ea780(vol/curvar))
vol_taste(VOL_FFS,vol/curvar)
g_mbrext_taste(MBREXT,vol/curvar)
mbr_taste(MBR,vol/curvar)
g_slice_spoiled(0xc46453c0/vol/curvar)
g_wither_geom(0xc4521c80(vol/curvar))
g_detach(0xc46453c0)
g_destroy_consumer(0xc46453c0)
g_destroy_geom(0xc4521c80(vol/curvar))
-------------- next part --------------
A non-text attachment was scrubbed...
Name: debug.confxml
Type: application/octet-stream
Size: 13321 bytes
Desc:
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20030604/fbf296a2/debug.obj
More information about the freebsd-current
mailing list