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
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:10 UTC