Creating Volumes

Explain How will you create extra Volumes?

Questions by dflaxmer

Showing Answers 1 - 6 of 6 Answers

Vasu Rao

  • Feb 2nd, 2012
 

metadb -a
creates state database replicas (you can also create then using The Solaris Volume Manager software GUI) The syntax of the command is:
metadb -a [-f] [-c n] [-l nnnn] disk_slice
metainit
create RAID volumes The force (-f) option must be used because this is the root (/) file system, which cannot be unmounted.
The syntax of the metainit command is:
metainit -f [concat_vol | stripe_vol] numstripes width component...

metastat -- Verify the status of the root (/) submirrors.
# /usr/sbin/metastat d10

metaroot allow mirroring the root (/) file system, modifes the /etc/vfstab and /etc/system files, as follows:
metaroot device
metadetach -- Detach one submirror to make the root (/) mirror a one-way mirror.
# /usr/sbin/metadetach d10 d12

metaclear clear the mirror and submirrors. The -r option recursively deletes specified metadevices and hot spare pools, associated with the targeted metadevices specified in the metaclear command.
# metaclear -r d10
d10: Mirror is cleared
d11: Concat/Stripe is cleared
# metaclear d12
d12: Concat/Stripe is cleared

  Was this answer useful?  Yes

vivekmathur

  • Mar 13th, 2012
 

we can create the extra volume by the soft partition methods
like:
metainit d701 -p d70
metainit d702 -p d70

after that format
newfs /dev/md/rdsk/d701
newfs /dev/md/rdsk/c702

make entry in vfstab
/dev/md/dsk/d701 /dev/md/rdsk/d701 /opt/parttion1 ufs 2 yes -
/dev/md/dsk/d701 /dev/md/rdsk/d701 /opt/parttion1 ufs 2 yes -

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions