You are on page 1of 1

Solaris FS using metadevices Mp2ss032 has 2 disks (i.e. c3t0d0(146GB) & c3t1d0(146GB)). The OS FSs are on disk c0t0d0.

After installing the OS and necessary FS you are left with about 105GB free space on c3t0d0. You need to combine the space remaining on c3t0d0 with the space on c3t1d0 to make one soft partition. Create metastat database on each disk. Each must be at least 100MB. The partitions must be of the same size. This must be the last slice on the disk (i.e. slice 7). After creating the partitions on each disk run the command as shown below to create the metastat database # metadb a f c3 /dev/dsk/c3t0d0s7 c3t1d0s7 # -a = attach a new DB device; -f=forceful c3=specifies the number of replicas on each device The remaining space on c3t0d0 was used to create a partition on c3t0d0s5. The remaining space on c3t1d0 left after creating metastat DB (slice 7) was used to create partition c3t1d0s5. # metainit d0 2 1 c3t0d0s5 1 c3t1d0s5 # d0 = the name of the combined space of disk 0 and disk 1(concatenated disk space) 2= create the space using 2 slices (c3t0d0s5 and c3t1d0s5) 1= use one slice from disk c3t0d0 1= use one slice from disk c3t1d0 Creating the partitions (Logical Volumes in HPUX) # metainit d10 p d0 10g # d10 = the new partition name ( it is best to name your partitions in this format 10, 20, 30 ) then use 11,21,31 for the first mirrors of the above mentioned partitions respectively) # d0= concatenated disk space created in step 2 above Create the file system # newfs /dev/md/rdsk/d10 Include the entry of the newly created FS in the /etc/vfstab file.

You might also like