12.07.2015 Views

download

download

download

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 1The newly created and formatted device can now be mounted and used asshown here:# mount /dev/stripe/stripe1 /mntIn the automatic method, the metadata is stored on the last sector of every device, sothat they can be detected and automatically configured during boot time. In order tocreate automatic RAID0 volume, you should use label parameter:# gstripe label stripe1 /dev/da1 /dev/da2Just like manual volumes, you can now format /dev/stripe/stripe1 using newfsand mount it.To see a list of current GEOM stripe sets, gstripe has the list argument. Using thiscommand, you can see a detailed list of devices that form the stripe set, as well as thecurrent status of those devices :# gstripe listGeom name: stripe1State: UPStatus: Total=2, Online=2Type: AUTOMATICStripesize: 131072ID: 1477809630Providers:1. Name: stripe/stripe1Mediasize: 17160732672 (16G)Sectorsize: 512Mode: r1w1e0Consumers:1. Name: da1s1dMediasize: 8580481024 (8.0G)Sectorsize: 512Mode: r1w1e1Number: 12. Name: da0s1dMediasize: 8580481024 (8.0G)Sectorsize: 512Mode: r1w1e1Number: 0To stop a RAID0 volume, you should use the stop argument in the gstripe utility.The stop argument will stop an existing striped set ,but does not remove the metadatafrom the device, so that it can be detected and reconfigured after system reboots.# gstripe stop stripe1[ 25 ]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!