svm implementation problem


 
Thread Tools Search this Thread
Operating Systems Solaris svm implementation problem
# 1  
Old 07-13-2012
svm implementation problem

hi all
please help me with the following
i am new to solaris
i want to umount /test mount point and make it 8gb each i.e. /test1 and /test2 and using SVM wants to make RAID5



Code:
bash-3.00# df -h
Filesystem             size   used  avail capacity  Mounted on
/dev/dsk/c0t0d0s0      6.9G   3.6G   3.2G    53%    /
/devices                 0K     0K     0K     0%    /devices
ctfs                     0K     0K     0K     0%    /system/contract
proc                     0K     0K     0K     0%    /proc
mnttab                   0K     0K     0K     0%    /etc/mnttab
swap                   1.8G   916K   1.8G     1%    /etc/svc/volatile
objfs                    0K     0K     0K     0%    /system/object
sharefs                  0K     0K     0K     0%    /etc/dfs/sharetab
/usr/lib/libc/libc_hwcap1.so.1
                       6.9G   3.6G   3.2G    53%    /lib/libc.so.1
fd                       0K     0K     0K     0%    /dev/fd
swap                   1.8G    40K   1.8G     1%    /tmp
swap                   1.8G    36K   1.8G     1%    /var/run
/dev/dsk/c0t0d0s3      9.9G   106M   9.7G     2%    /npn-zone
/dev/dsk/c0t0d0s4      4.7G   2.0G   2.2G    48%    /jsc
/dev/dsk/c0t0d0s5      966M   1.0M   868M     1%    /config
/dev/dsk/c1t0d0s2       16G    16M    16G     1%    /test
/dev/dsk/c0t0d0s7      486M   1.0M   436M     1%    /export/home

Moderator's Comments:
Mod Comment edit by bakunin: Please view this code tag video for how to use code tags when posting code and data.

Last edited by bakunin; 07-13-2012 at 03:23 PM..
# 2  
Old 07-15-2012
Hey I can give u solution:

1.) Unmount the /test directory.
#umount /test

2.)Make a simple concatenated metadevice for
/dev/dsk/c1t0d0s2

#metainit -f d1 1 1 c1t0d0s2

3.)Now make two soft partitions on this device of 8 gb each

#metainit d2 -p d1 8gb

#metainit d3 -p d1 8gb

4.)Create Filesystem and mount them.

#newfs /dev/md/rdsk/d2
#newfs /dev/md/rdsk/d3

#mount /dev/md/dsk/d2 /test1
#mount /dev/md/dsk/d3 /test2


Will work 100% Smilie



Note: For Raid -5 volumes ,you should need atleast three disks.

Like:

# metainit d4 -r c2t3d0s2 c3t0d0s2 c4t0d0s2 d4: RAID is setup(Will setup a RAID-5 volume)



# 3  
Old 07-17-2012
thanks for your replay it is working now.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Problem in SVM after live upgrade

Hi I am new to live upgrade. I would like to tell you about my new setup, where my boot disk(c0d0) is mirrored with secondary disk(c0d1). I have remove the secondary whole disk(C0d1) from the mirror, so that I can do live upgrade on this secondary disk. I have done live upgrade on s0 partition... (3 Replies)
Discussion started by: amity
3 Replies

2. UNIX for Advanced & Expert Users

What is interlace value in SVM?

Hi All, I want to know what is the Interlace value in SVM and what is the need of this ? regards, prashant (1 Reply)
Discussion started by: prashant2507198
1 Replies

3. UNIX for Advanced & Expert Users

SVM

How to list out multiple Disk sets in SVM # metaset -s <disksetname> --- This will list out only one diskset but I need a list of disk sets configured for the node. Is there any command,please let me know ... Thanks in advance. (1 Reply)
Discussion started by: pramath
1 Replies

4. Solaris

SVM Problem Regarding /var

Hi Guys! I am facing Problem with SVM I mention the problem below: I have Sunfire V210 machine and the partitions are as follows: Part Tag Flag Cylinders Size Blocks 0 root wm 0 - 6134 29.77GB (6135/0/0) 62429760 1 swap wu ... (1 Reply)
Discussion started by: sensation
1 Replies

5. Solaris

SVM Solaris 8 Problem. Metastat output looping

Hi friends, I'm newbie to SVM. Just wanna try installed it on one of our server (to do mirroring for disk0 and disk1) but i think im lost until now. :( the steps i've taken is as below:- 1.prtvtoc /dev/rdsk/c1t0d0s2 | fmthard -s - /dev/rdsk/c1t1d0s2 2.metadb -a -c 3 -f c1t0d0s7... (3 Replies)
Discussion started by: kronenose
3 Replies

6. Solaris

Problem with SVM

HI, I added by error to a submirror some disks : metattach d53 c2t90d0s0 c2t90d1s0 ... instead of doing a stripe by disk (like that) : metattach d53 c2t90d0s0 metattach d53 c2t90d1s0 .. then, I did a growfs -M to expand FS and the size isn't correct. I tried to launch a... (1 Reply)
Discussion started by: phil.nakache
1 Replies

7. Solaris

Facing Problem with metaset in SVM

hi all, i am using solaris 5.10 on sun blade 150 and i am trying to configure diskset in sun volume manager. When i fire the following command, it says some rpc related error. bash-3.00# metaset -s kingston -a -h u15_9 metaset: u15_9: metad client create: RPC: Program not registered how to... (4 Replies)
Discussion started by: kingston
4 Replies

8. UNIX for Dummies Questions & Answers

SVM doubt

i have taken two separate disk A and B created 4 slices in each A b s4 s4 s5 s5 s6 s6 s7 s7 took slices s4 of A and slice s6 0f B ---created a meta device d0 took slices s4 of B and slice s6 0f A---created a meta device d1 created main mirror d2 using d0... (1 Reply)
Discussion started by: vivek_ng
1 Replies

9. UNIX for Advanced & Expert Users

Restrictive mail implementation problem

Any tips on this problem will be greatly appreciated. I need to build a Linux mailserver, that needs to meet the following requirements: 3 usergroups: endusers, supervisors, and management Endusers will be on a local Linux mailserver Supervisors and management will be on Google Apps ... (0 Replies)
Discussion started by: zefflyn
0 Replies

10. Solaris

SVM, mirroring

Really sorry for the long posting. But i would really want to clear all the doubts. I have 2 disk c0t0d0 & c0t1d0, i wanted to mirror c0t1d0 (mirror) to c0t0d0 (main). Creating state database replica: metadb -a -c3 -f c0t0d0s7 ... (3 Replies)
Discussion started by: beginningDBA
3 Replies
Login or Register to Ask a Question