Date: Wed, 30 Dec 2009 03:34:03 GMT From: Tigger <tigger@lvlworld.com> To: freebsd-gnats-submit@FreeBSD.org Subject: bin/142155: dumpfs drops leading 0 (zero) from superblock id Message-ID: <200912300334.nBU3Y3Kd030744@www.freebsd.org> Resent-Message-ID: <200912300340.nBU3e1E5054067@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 142155 >Category: bin >Synopsis: dumpfs drops leading 0 (zero) from superblock id >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Dec 30 03:40:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Tigger >Release: FreeBSD 8.0 >Organization: n/a >Environment: FreeBSD eeeor.goo 8.0-RELEASE-p1 FreeBSD 8.0-RELEASE-p1 #8: Mon Dec 28 20:31:32 EST 2009 tigger@eeeor.goo:/usr/obj/usr/src/sys/EEEOR i386 >Description: dumpfs will drop a leading 0 (zero) from the reported id in the superblock location. I'm using dumpfs to get the ufsid of drives (is there are better way?) in order to add the ids to /etc/fstab - to prevent drive lost when moving drives around or adding new ones, Something I've been hit with twice in the last month, once one a remote box! >How-To-Repeat: As you can see below, the id should be '[ 4ae2d4ec 06f7fec5 ]', not '[ 4ae2d4ec 6f7fec5 ]' root@eeeor:/home/tigger# dumpfs / | head -18 magic 19540119 (UFS2) time Wed Dec 30 14:16:57 2009 superblock location 65536 id [ 4ae2d4ec 6f7fec5 ] ncg 6 size 524288 blocks 506487 bsize 16384 shift 14 mask 0xffffc000 fsize 2048 shift 11 mask 0xfffff800 frag 8 shift 3 fsbtodb 2 minfree 8% optim time symlinklen 120 maxbsize 16384 maxbpg 2048 maxcontig 8 contigsumsize 8 nbfree 41427 ndir 865 nifree 129262 nffree 17862 bpg 11761 fpg 94088 ipg 23552 unrefs 0 nindir 2048 inopb 64 maxfilesize 140806241583103 sbsize 2048 cgsize 16384 csaddr 3000 cssize 2048 sblkno 40 cblkno 48 iblkno 56 dblkno 3000 cgrotor 0 fmod 0 ronly 0 clean 0 avgfpdir 64 avgfilesize 16384 flags none fsmnt / volname swuid 0 root@eeeor:/home/tigger# df -hc / Filesystem Size Used Avail Capacity Mounted on /dev/ufsid/4ae2d4ec06f7fec5 989M 307M 603M 34% / total 989M 307M 603M 34% >Fix: No idea, sorry. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912300334.nBU3Y3Kd030744>