xfs
[Top] [All Lists]

Re: linux/xfs mount problem - 512byte blocksize

To: linux-xfs@xxxxxxxxxxx
Subject: Re: linux/xfs mount problem - 512byte blocksize
From: rob <rob@xxxxxxxx>
Date: Tue, 08 May 2001 17:51:38 +0100
References: <3AF7D7DD.4E1D3934@dsvr.net> <3AF7F674.388891@sgi.com> <3AF80F10.3842D3F5@dsvr.net> <3AF80B90.ABA9DEB6@sgi.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
Thanks Eric


> >
> > Hi Eric, thanks for your reply. If you have a few minutes, can you read thru
> > this and make any comments on my situation/reasoning behind fixing it.
>
> Hm, I can half-answer some of your questions, but I don't know for sure
> on others.
>
> So, I'd suggest that you distill your last message down into the
> fundamental questions and send it back to the list, but here are a few
> pieces of information:
>

Cheers. I'll post this back to the list for now. I'll sort out those other
questions later :)

>
> xfsdump (at least on linux) only operates on a mounted filesystem.

er.. but i can't mount the xfs filesystem due to the 512byte blocksize....

>
> xfsdump can be used to transfer from linux <-> irix.
> 4k blocksize should work fine under Irix
> see "man xfsdump" for the "-b blocksize" option.

ok. This is what i get (all you non-linux types forgive the linux notations -
i've read quite a bit of the news groups :)

/dev/hdb is an 9 GB IDE disk, contents (currently) ext2 however it's not 
mounted,
and it's ready to be blanked by whatever happens next

Disk /dev/hdb: 128 heads, 63 sectors, 782 cylinders
Units = cylinders of 8064 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hdb1   *         1       740   2983648+  83  Linux
/dev/hdb2           741       782    169344   82  Linux swap


/dev/sda is a 4 GB SCSI disk from the Octane.

fdisk or sda
----- partitions -----
   Device  Info      Start       End   Sectors  Id  System
/dev/sda1  boot       245      8154   8622303   a  SGI xfs
/dev/sda2  swap         4       244    262144   3  SGI raw
/dev/sda9               0         3      4096   0  SGI volhdr
/dev/sda11              0      8154   8888543   6  SGI volume
----- bootinfo -----
Bootfile: /unix
----- directory entries -----
 0: sgilabel   sector    2 size     512
 1: ide        sector    3 size  268288
 2: sash       sector  527 size  268288
 3: IP30prom   sector 1051 size  913408

Fair enough. OK. So we attempt to 'dump' the filesystem from my unreadable
(512bytes blocksize) xfs disk (i'm deliberately not using the word partition as 
i
normally would) to the IDE drive (not currently xfs, but ext2). Neither are
mounted :

xfsdump -f /dev/hdb1 -b 512 /dev/sda1

after being prompted for a label i get the following error :

xfsdump: ERROR: /dev/sda1 does not identify a file system

which suggests to me that xfsdump cannot read the filesystem due to this 512byte
!= 4096byte incompatability with the SGI Octane disk and the linux XFS driver.

I get this also with the following command line variations :

xfsdump -f /dev/hdb1 -b 512 /dev/sda
xfsdump -f /dev/hdb1 /dev/sda
xfsdump -f /dev/hdb1 /dev/sda1

Could anyone offer any help/advice.

Best regards

Rob Fielding
rob@xxxxxxxx



<Prev in Thread] Current Thread [Next in Thread>