NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

disklabel fun



I have been running a mixture of NetBSD 5, 7 and current i386 DOMUs,
all at different times mounting the same /usr/pkgsrc, which in
reality is raid5e. (So different versions of fsck have had a go after
I panic the DOMU.)

raid5|Automatically generated label:\
        :dt=RAID:se#512:ns#128:nt#8:sc#1024:nc#256000:\
        :pa#157286400:oa#0:ta=4.2BSD:ba#0:fa#0:\
        :pc#262144000:oc#0:\
        :pd#262144000:od#0:\
        :pe#104857600:oe#157286400:te=4.2BSD:be#0:fe#0:

I think I was running NetBSD 5 last yesterday night. Just now I booted
NetBSD-current, and

WARNING: xbd1: total sector size in disklabel (2097152) != the size of xbd1 (104857600)
xbd1: 51200 MB, 512 bytes/sect x 104857600 sectors

xbd1|Automatically generated label:\
        :dt=ESDI:se#512:ns#2048:nt#1:sc#2048:nc#51200:\
        :pa#104857600:oa#0:ta=4.2BSD:ba#0:fa#0:\
        :pd#104857600:od#0:

Where is 2097152 coming from?!


Cheers,

Patrick


Home | Main Index | Thread Index | Old Index