Date: Thu, 4 Aug 2005 12:01:11 +0200 (CEST) From: Anders Gytri <gytri@elkraft.ntnu.no> To: freebsd-questions@freebsd.org Cc: Anders Gytri <gytri@elkraft.ntnu.no> Subject: Strange disklabel Message-ID: <20050804111853.D4165@thebe.elkraft.ntnu.no>
next in thread | raw e-mail | index | archive | help
I have recently installed a big disk (1.4 TB sata raid with scsi interface) on an i386 computer running FreeBSD 5.4-RELEASE-p1. I have 3 partitions on the FreeBSD slice. The disk is working OK, but the disklabel seem a little strange. For one of the partitions the "fsize bsize bps/cpg" values are "0 0 0". For the other two partitions these values are "2048 16384 28552" which I beleve is more normal. The filesystem is initialized (with newfs). fsck gives no errors. Partial or full output from the commands "dmesg", "df", "mount", "fdisk da1", "bsdlabel -A da1s1", "tunefs -p /dev/da1s1e", "fsck /dev/da1s1e" and "dumpfs /dev/da1s1e" is attached below. Should I worry about this, or can I ignore it. Anders Gytri ----------------------------------------------------- # dmesg da1 at ahd0 bus 0 target 0 lun 0 da1: <DEFANGED_IFT A08U-G2421 342D> Fixed Direct Access SCSI-3 device da1: 160.000MB/s transfers (80.000MHz, offset 127, 16bit), Tagged Queueing Enabled da1: 1429284MB (2927173632 512 byte sectors: 255H 63S/T 182208C) ----------------------------------------------------- # df Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/da1s1e 507788836 47657476 419508254 10% /home ----------------------------------------------------- # mount /dev/da1s1e on /home (ufs, NFS exported, local, soft-updates) ----------------------------------------------------- # fdisk da1 ******* Working on device /dev/da1 ******* parameters extracted from in-core disklabel are: cylinders=182208 heads=255 sectors/track=63 (16065 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=182208 heads=255 sectors/track=63 (16065 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 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 63, size 2927171457 (1429282 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 959/ head 254/ sector 63 The data for partition 2 is: <DEFANGED_UNUSED> The data for partition 3 is: <DEFANGED_UNUSED> The data for partition 4 is: <DEFANGED_UNUSED> ----------------------------------------------------- # bsdlabel -A da1s1 # /dev/da1s1: type: unknown disk: amnesiac label: flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 182207 sectors/unit: 2927171457 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # milliseconds track-to-track seek: 0 # milliseconds drivedata: 0 8 partitions: # size offset fstype [fsize bsize bps/cpg] c: 2927171457 0 unused 0 0 # "raw" part, don't edit d: 209715200 0 4.2BSD 2048 16384 28552 e: 1048576000 209715200 4.2BSD 0 0 0 f: 1668880257 1258291200 4.2BSD 2048 16384 28552 ----------------------------------------------------- # tunefs -p /dev/da1s1e 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) ----------------------------------------------------- # fsck /dev/da1s1e ** /dev/da1s1e ** Last Mounted on /home ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 36339 files, 23828738 used, 230065680 free (712 frags, 28758121 blocks, 0.0% fragmentation) ----------------------------------------------------- # dumpfs /dev/da1s1e magic 19540119 (UFS2) time Thu Aug 4 10:32:28 2005 superblock location 65536 id [ 42a2003d 11af58d9 ] ncg 2787 size 262144000 blocks 253894418 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 28758121 ndir 423 nifree 65603083 nffree 712 bpg 11761 fpg 94088 ipg 23552 nindir 2048 inopb 64 maxfilesize 140806241583103 sbsize 2048 cgsize 16384 csaddr 3000 cssize 45056 sblkno 40 cblkno 48 iblkno 56 dblkno 3000 cgrotor 1939 fmod 0 ronly 0 clean 1 avgfpdir 64 avgfilesize 16384 flags soft-updates fsmnt /home volname swuid 0
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050804111853.D4165>