NetBSD-Bugs archive

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

Re: bin/45933: fsck_ffs can't find wapbl journal on 4k-block disks



On Sun, Jul 13, 2014 at 06:39:29PM +0200, Michael van Elst 
(mlelstv%serpens.de@localhost) wrote:
> On Sun, Jul 13, 2014 at 02:10:15PM +0000, David Krinsky wrote:
> 
> >  Michael,
> >  
> >  Thank you for the response.  But if this is the full explanation, why
> >  does fsck in the domU fail?  That is what I am seeing-- this bug
> >  doesn't depend on creating a filesystem in a domU and then fscking it
> >  from dom0.
> 
> 
> Can you please dump the superblock with 'dumpfs -s' and the device
> properties with 'drvctl -p' from inside the DomU ?

# dumpfs -s /dev/xbd4 
file system: /dev/xbd4d
format  FFSv2
endian  little-endian
location 65536  (-b 16)
magic   19540119        time    Sun Jul 13 08:27:32 2014
superblock location     65536   id      [ 4f2dc109 39cab8dc ]
cylgrp  dynamic inodes  FFSv2   sblock  FFSv2   fslevel 5
nbfree  4129308 ndir    1       nifree  8269435 nffree  13
ncg     177     size    33554432        blocks  33034735
bsize   32768   shift   15      mask    0xffff8000
fsize   4096    shift   12      mask    0xfffff000
frag    8       shift   3       fsbtodb 0
bpg     23697   fpg     189576  ipg     46720
minfree 5%      optim   time    maxcontig 2     maxbpg  4096
symlinklen 120  contigsumsize 2
maxfilesize 0x000800800805ffff
nindir  4096    inopb   128
avgfilesize 16384       avgfpdir 64
sblkno  24      cblkno  32      iblkno  40      dblkno  2960
sbsize  4096    cgsize  32768
csaddr  2960    cssize  4096
cgrotor 0       fmod    0       ronly   0       clean   0x01
wapbl version 0x1       location 1      flags 0x0
wapbl loc0 268435456    loc1 131072     loc2 512        loc3 0
flags   none
fsmnt   /var/mail
volname         swuid   0

# drvctl -p xbd4 
Properties for device `xbd4':
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" 
"http://www.apple.com/DTDs/PropertyList-1.0.dtd";>
<plist version="1.0">
<dict>
        <key>device-driver</key>
        <string>xbd</string>
        <key>device-unit</key>
        <integer>0x4</integer>
        <key>disk-info</key>
        <dict>
                <key>geometry</key>
                <dict>
                        <key>cylinders-per-unit</key>
                        <integer>0x20040</integer>
                        <key>sector-size</key>
                        <integer>0x200</integer>
                        <key>sectors-per-track</key>
                        <integer>0x800</integer>
                        <key>sectors-per-unit</key>
                        <integer>0x10020000</integer>
                        <key>tracks-per-cylinder</key>
                        <integer>0x1</integer>
                </dict>
        </dict>
</dict>
</plist>


Home | Main Index | Thread Index | Old Index