| To: | "Stefan Smietanowski" <stesmi@xxxxxxxxxx> |
|---|---|
| Subject: | Re: XFS: SB validate failed |
| From: | "Spam Magnet" <spam.wax@xxxxxxxxx> |
| Date: | Thu, 5 Jun 2008 12:16:17 -0400 |
| Cc: | "Timothy Shimmin" <tes@xxxxxxx>, "Eric Sandeen" <sandeen@xxxxxxxxxxx>, xfs@xxxxxxxxxxx |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=1nvA+sW+LduydZAVQSuoPB1jqpguEjXfT+bRaNSsuhs=; b=p3lH35u7GQJU+qcw0JEsTP6s2yXLQxnI3Ecu3o1snY3euxXMSCJMcnQRkbElSPguWo f3NMuBKbv2W5Tqhx699Q9Eqv8Q2YEPtnuPkYkgZUegLrXdB3A7TnnVFvWLdtpx0ZUsxw NV1kY9PaRijJbsI2vRjUxChCgz8+uNh26tJvM= |
| Domainkey-signature: | a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=yF8pY0LhdWwt/hnVoKbJ+pv7iCJ44yDc/JdG18wx0mQmRco6oUW3iHplljxDTGpVDP 3twNFTjeV/VAm8FNPrI3MfvijZct5NPNrf54OZ+48xhHkexGk1D3gRz5Ws6m82ycByE/ cSIBEioUG+ntwqIm8+IdkjmI4ltQT2OwuO4v0= |
| In-reply-to: | <4845A857.3090905@xxxxxxxxxx> |
| References: | <3607657a0805291005k457791cej1c5f867da0f95965@xxxxxxxxxxxxxx> <48408D3E.3090401@xxxxxxxxx> <48409981.1050405@xxxxxxxxxx> <48425148.1080105@xxxxxxxxx> <48427DEE.40400@xxxxxxxxxx> <3607657a0806031036r702ab6a5w7ca6517c19395b9b@xxxxxxxxxxxxxx> <3607657a0806031056w24efa917q625f13bfe9eaa706@xxxxxxxxxxxxxx> <4845949F.7080209@xxxxxxxxxx> <3607657a0806031239l6d788868u2f5654efcabf4abc@xxxxxxxxxxxxxx> <4845A857.3090905@xxxxxxxxxx> |
| Sender: | xfs-bounce@xxxxxxxxxxx |
On Tue, Jun 3, 2008 at 4:23 PM, Stefan Smietanowski <stesmi@xxxxxxxxxx> wrote: >> I think they are but I used -u option of fdisk: >> $ fdisk -ul jaz7.img >> Disk jaz7.img (SGI disk label): 255 heads, 63 sectors, 0 cylinders >> Units = sectors of 1 * 512 bytes >> ----- partitions ----- >> Pt# Device Info Start End Sectors Id System >> 8: jaz7.img1 3072 2091007 2087936 a SGI xfs >> 9: jaz7.img2 0 3071 3072 0 SGI volhdr >> 11: jaz7.img3 0 2091007 2091008 6 SGI volume >> >> which lists partitions in sector units. As oppose to: >> >> $ fdisk -l jaz7.img >> >> Disk jaz7.img (SGI disk label): 255 heads, 63 sectors, 0 cylinders >> Units = cylinders of 16065 * 512 bytes >> >> ----- partitions ----- >> Pt# Device Info Start End Sectors Id System >> 8: jaz7.img1 1 130 2087936 a SGI xfs >> 9: jaz7.img2 0 0 3072 0 SGI volhdr >> 11: jaz7.img3 0 130 2091008 6 SGI volume > > I'd give it a shot regardless as I don't remember if the sector size is > actually IN the partition table and if it's NOT then it'll show the > native blocksize of the device, which is 512bytes! > > Just try it, what do you have to lose? I mean do the od .. > Worst case you get garbage or zeroes. 3072*2048=6,291,456 (30000000 octal) $ od -t c jaz7.img | grep 30000000 30000000 377 377 367 371 \0 \0 0 365 \0 \0 ? y \0 \0 004 016 130000000 201 244 \0 001 \0 \0 \0 \0 \0 \0 006 201 B 373 306 307 So I guess that didn't work either :( |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH 1/2] simplify xfs_vn_listxattr, Timothy Shimmin |
|---|---|
| Next by Date: | Re: [PATCH 1/2] simplify xfs_vn_listxattr, Timothy Shimmin |
| Previous by Thread: | Re: XFS: SB validate failed, Stefan Smietanowski |
| Next by Thread: | Re: XFS: SB validate failed, Timothy Shimmin |
| Indexes: | [Date] [Thread] [Top] [All Lists] |