Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Apr 2007 18:24:32 +0200
From:      Ivan Voras <ivoras@fer.hr>
To:        freebsd-current@freebsd.org
Subject:   Re: GVirstor Label problem on -CURRENT
Message-ID:  <f0qjo9$9l2$1@sea.gmane.org>
In-Reply-To: <33910a2c0704260824y64691d87xc1e3488d43b8d81f@mail.gmail.com>
References:  <33910a2c0704260533l5afcb1actacd3bf1980b46cfc@mail.gmail.com>	<f0q9sd$mm7$1@sea.gmane.org> <33910a2c0704260824y64691d87xc1e3488d43b8d81f@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Jason Hills wrote:

> So I tried to make a smaller virtual storage, 40G:
> 
> # ./gvirstor label -v -s 400000 mystor ad3s1d
> Resizing virtual size to fit virstor structures
> New virtual size: 400128 MB (32 new chunks)
> Total virtual chunks: 100032 (4 MB each), 400128 MB total virtual size.
> Clearing metadata on ad3s1d.
> Writing allocation table to ad3s1d... (0 MB, 1 chunks)
> Tried to write 800256, written 4294967295 (Operation not permitted)
> Error writing out allocation map!

Ok.
Can you verify that dd works on that partition? For example, use

# dd if=/dev/zero of=/dev/ad3s1d bs=512 count=1563

And tell me if this works or fails.

(1563=800256/512)


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGMNJGldnAQVacBcgRAsxyAJ9nC+R7LYL+nFNMcxLcFuURUoR1hACfUlzW
n14+w5pOAETU4EFut02dy3c=
=c5/C
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f0qjo9$9l2$1>