Re: Raid strip with freebsd slices or partitions



On Thursday 28 September 2006 19:43, Damian Wiest wrote:
On Thu, Sep 28, 2006 at 10:35:10PM +0000, m3 BSD wrote:
Hi, i would like to do a raid strip with freebsd slices or partitions
and not with a entire disk. For example: I've a two SCSI drivers with
68Gb. I want to make a two partitions or slices in two disks, first
with 10G and other with 58Gb, this in two disks, and make a raid strip
"virtual disk" with 58+58GB = 116 GB, and user other two partitions
normaly.

I believe you want to use the GEOM(4) subsystem in general and the
gstripe(8) command in particular. I've only used gmirror(8) with
entire disks, but I believe you can simply specify a device name
corresponding to the slices you want to stripe.

That's correct. Use bsdlabel to divide the disks how you want them, put your
normal filesystems on (e.g.) ad0s1a and ad2s1a, and use ad0s1d and ad2s1d as
the elements of your gstripe. (e.g. "gstripe label bigvol ad0s1d ad2s1d").

Or you can divide the disk using fdisk and just use slices as the elements of
your gstripe (ad0s2 and ad2s2, for instance). It doesn't matter what the
device actually represents; geom can use it.

JN
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Installing bigger disks, with SVM
    ... If you've a jumpstart server I suggest doing that with a flash image, ... - create a flash image of your current disks and copy it to the jump ... > directly with the underlying slices, ...
    (comp.unix.solaris)
  • Re: FreeBSD fdisk how to?
    ... does sysinstall's "fdisk" also support gmirror and gstripe devices? ... The first order of business is to check if the disks have been ... Now it is time to devide the disks into slices (which are called partitions ... FreeBSD partitions using bsdlabel. ...
    (freebsd-questions)
  • Summary: Live Upgrade to Solaris 9 - repartitioning
    ... > We're looking at live upgrade our systems from Solaris 8 to Solaris ... > We have mirrored OS disks. ... > during the Live Upgrade - change the size of almost every slices. ... Do you Yahoo!? ...
    (SunManagers)
  • Re: Large filesystems help/ideas
    ... You cannot use fdisk slices/partitions with disks over 2TB. ... I'm implementing a backup solution at work.We've bought a x86 server ... I've also thought on using slices of 1Tb, and join all them using vinum. ... Université Libre de Bruxelles (ULB) ...
    (freebsd-questions)
  • Re: "Torn between two OS" - Solaris vs Linux
    ... correctly, volumes, since with RAID, a single volume may consist ... of two or more disks) are divided into slices. ... Slices are divided into partitions. ...
    (comp.os.linux.misc)