Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Feb 2012 16:00:29 +0100
From:      Sven <debeuk@gmail.com>
To:        freebsd-stable@freebsd.org
Subject:   Re: Sector size of a zvol
Message-ID:  <CAAVLh2MFhnSzjK1yA-CpTvC=Hz%2Bb3eEqD4FoPyzOuynVG=mpSg@mail.gmail.com>
In-Reply-To: <E1RtICc-00095q-1M@dilbert.ingresso.co.uk>
References:  <E1RtICc-00095q-1M@dilbert.ingresso.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Feb 3, 2012 at 1:25 PM, Pete French <petefrench@ingresso.co.uk>wrote:

> So, I was trying to create a disc witha  sector size of 4096 bytes, and I
> assumed that simply creating a zvol with that blocksize would do the trick.
> But it appears that whatever the blocksize is on the xvol, diskinfo is
> reporting the sector size as 512 bytes.
>
> I this the intended behaviour ? I dont have a Solaris system to hand to
> test it on, so I have no ida if this is BSD specific or not.
>
> cheers,
>
> -pete.
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
>


You can use the method described here to create a zvol with 4k sector size:
http://lists.freebsd.org/pipermail/freebsd-fs/2010-December/010350.html

-- 
:wq



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAVLh2MFhnSzjK1yA-CpTvC=Hz%2Bb3eEqD4FoPyzOuynVG=mpSg>