Disksuite questions


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Disksuite questions
# 8  
Old 09-02-2003
Thanks.... c0t0d0 is the boot and is not include in the RAID. Need the space for program + oracle databases (large partitions due to med. network node build + collecting 30 days data on nodes)


I have played around and managed to create database replicas, and a RAID5 metadevice.

(I just picked 4 slices from 4 drives and created the metadevice for practice to get a feel for it).

# metastat
d10: RAID
State: Okay
Interlace: 64 blocks
Size: 62364843 blocks
Original device:
Size: 62365632 blocks
Device Start Block Dbase State Hot Spare
c0t1d0s6 3539 Yes Okay
c1t1d0s6 3539 Yes Okay
c1t2d0s6 3539 Yes Okay
c1t3d0s6 3539 Yes Okay


VFSTAB FILE:
# more vfstab
#device device mount FS fsck mount mount
#to mount to fsck point type pass at boot options
#
#/dev/dsk/c1d0s2 /dev/rdsk/c1d0s2 /usr ufs 1 yes -
fd - /dev/fd fd - no -
/proc - /proc proc - no -
/dev/dsk/c0t0d0s1 - - swap - no -
/dev/dsk/c0t0d0s0 /dev/rdsk/c0t0d0s0 / ufs 1 no
-
/dev/dsk/c0t0d0s6 /dev/rdsk/c0t0d0s6 /usr ufs 1 no
-
/dev/dsk/c0t0d0s3 /dev/rdsk/c0t0d0s3 /var ufs 1 no
-
/dev/dsk/c0t0d0s7 /dev/rdsk/c0t0d0s7 /export/home ufs 2
yes -
/dev/dsk/c0t0d0s5 /dev/rdsk/c0t0d0s5 /opt ufs 2 yes
-
swap - /tmp tmpfs - yes -
/dev/md/dsk/d10 /dev/md/rdsk/d10 /var/mail ufs 2 yes
-

_____________________________

Last line shows "d10" metadevice. I wanted to combine these partitions and create 1 partition (/db01).

How do I call this partition db01 and mount? I tried "/" and "/db01" in the vfstab file for mount point and it did not show up.

I have it mounting /var/mail (from someone else's example and it worked).
# df -k
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c0t0d0s0 4032504 63092 3929087 2% /
/dev/dsk/c0t0d0s6 4032504 800571 3191608 21% /usr
/proc 0 0 0 0% /proc
fd 0 0 0 0% /dev/fd
mnttab 0 0 0 0% /etc/mnttab
/dev/dsk/c0t0d0s3 4032504 114020 3878159 3% /var
swap 15718944 16 15718928 1% /var/run
swap 15719560 632 15718928 1% /tmp
/dev/dsk/c0t0d0s5 5773212 2133 5713347 1% /opt
/dev/dsk/c0t0d0s7 5040814 385457 4604949 8% /export/home
/dev/md/dsk/d10 30696394 9 30389422 1% /var/mail

__________________

Once I figure out how to do one metadevice (db01), I plan to create (db02,03, 04).

Also how can I access the new /db01 to install files?

Currently mounted to /var/mail/ and mail folder properties report 512 kb? But df -k reports full amount?

Please help again.

Last edited by finster; 09-02-2003 at 02:52 AM..
# 9  
Old 09-02-2003
? do you already have the directory ?
mkdir /db01; mount -F ufs /dev/md/dsk/d10 /db01
you also have to create a new filesystem on the metadevice first..
newfs /dev/md/rdsk/d10
or would you like to create logical partitions?

greetings Preßy
# 10  
Old 09-03-2003
I created new fs but forgot to mkdir db01!!!!

Thanks. Worked great.

Thanks so much for the help. Partitions set up....

Could not have done it without u guys.....thanks again.
# 11  
Old 09-07-2003
For those following this post......in an effort to give something back......this was my outcome.....I hope it helps for future searches and questions.


Thanks again to all.

___________________________________

Storedge Multipack Setup:

Need the following minimum partitions using 6 disk array:

db01 8GB
db02 16 GB
db03 90 GB
db04 70 GB

First disk in array = c1t1d0
Last disk in array = c1t6d0


Disk 1-6 Slices partitioned (Concatenation) in the following manner:

S0 Database replica (20Mb) (plenty for future)
s1 unassigned
s2 unassigned
s3 unassigned
s4 db01 (smallest) /db01 (2 GB)
s5 db02 /db02 (3GB)
s6 db04 /db04 (12.8GB)
s7 db03 (Largest) /db03 (16 GB)



Disk 1 on array will be manually partitioned using the format command and set to the above partitions.
The partition Table from disk1 will then be duplicated to the remaining 5 disks.


prtvtoc /dev/rdsk/c1t1d0s2 | fmthard -s - /dev/rdsk/c1t2d0s2
(this will copy table from Disk1 to Disk2)

Or write vtoc to file:

prtvtoc -h /dev/rdsk/cxtxd0s2 > /export/home/vtoc_disk1

Edit the file: Delete last 2 columns (delete only 1 column if directory not listed)

fmthard -s /export/home/vtoc_disk1 /dev/rdsk/cxtxd0s2



Create Database Replica's: ( 1 on each disk)
metadb -a -f c1t1d0s0 c1t2d0s0 c1t3d0s0 c1t4d0s0 c1t5d0s0 c1t6d0s0

Check Replica's:

metadb -i

Create Metadevices (d10,d20,d30,d40):

metainit d10 6 1 c1t1d0s4 1 c1t2d0s4 1 c1t3d0s4 1 c1t4d0s4 1 c1t5d0s4 1 c1t6d0s4
metainit d20 6 1 c1t1d0s5 1 c1t2d0s5 1 c1t3d0s5 1 c1t4d0s5 1 c1t5d0s5 1 c1t6d0s5
metainit d40 6 1 c1t1d0s6 1 c1t2d0s6 1 c1t3d0s6 1 c1t4d0s6 1 c1t5d0s6 1 c1t6d0s6
metainit d30 6 1 c1t1d0s7 1 c1t2d0s7 1 c1t3d0s7 1 c1t4d0s7 1 c1t5d0s7 1 c1t6d0s7

Creating a File System on the Concatenation:

newfs /dev/md/rdsk/d10
newfs /dev/md/rdsk/d20
newfs /dev/md/rdsk/d30
newfs /dev/md/rdsk/d40

fsck /dev/md/rdsk/d10
fsck /dev/md/rdsk/d20
fsck /dev/md/rdsk/d30
fsck /dev/md/rdsk/d40

Check Metadevices:

metastat

Make directories in /:

mkdir db01 db02 db03 db04

Add mounts to vfstab file:

/dev/md/dsk/d10 /dev/md/rdsk/d10 /db01 ufs 2 yes -
/dev/md/dsk/d20 /dev/md/rdsk/d20 /db02 ufs 2 yes -
/dev/md/dsk/d30 /dev/md/rdsk/d30 /db03 ufs 2 yes -
/dev/md/dsk/d40 /dev/md/rdsk/d40 /db04 ufs 2 yes -

Mount Logical Partitions:

shutdown -i6 -g0 -y

or

mount /dev/md/dsk/d10 /db01
mount /dev/md/dsk/d20 /db02
mount /dev/md/dsk/d30 /db03
mount /dev/md/dsk/d40 /db04

Check mounts and partitions:

df -k

______________________________________________
______________________________________________

*****Only If Needed

To delete metadevices: Unmount partitions:

# umount /dev/md/dsk/d40
# umount /dev/md/dsk/d30
# umount /dev/md/dsk/d20
# umount /dev/md/dsk/d10

**Remove entries rom /ect/vfstab file.

Delete metadevices:

# metaclear d10 d20 d30 d40
d10: Concat/Stripe is cleared
d20: Concat/Stripe is cleared
d30: Concat/Stripe is cleared
d40: Concat/Stripe is cleared

Check deletion:
metastat

Delete Database Replicas:

metadb -f -d c1t1d0s0 c1t2d0s0 c1t3d0s0 c1t4d0s0 c1t5d0s0 c1t6d0s0
(-f force, -d delete)

Check deletion:
metadb -i
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Disksuite question

Hello all, I have a Solaris Disksuite question :- I will be adding 4 new drives to an E250 server and need will be configuring 2 striped volumes each consisting 2 new disks with SVM. In the end i will have 2 volumes each of 72gb. So in effect i will have 1 volume called D7 and another volume... (6 Replies)
Discussion started by: commandline
6 Replies

2. Solaris

disksuite mirroring d0 to d2 and d1 to d3

I have a SOlaris 10 v240 server. I'm installing disksuite to mirror the root drive D0 to D2. I also have one partition on disk 1 that I want to mirror to D3. I am not using ZFS right now. Can I add that to my initial mirroring configuration or can I only mirror 1 drive to 1 drive? Can I... (2 Replies)
Discussion started by: csross
2 Replies

3. Solaris

Disksuite mirror expansion

Hi I had a disksuite mirror with two sub-mirrors which I wanted to expand. To expand this I had the bright idea of detaching one of the sub-mirrors and doing a metaclear on that submirror - then re-sized the underlying partition ( doubling it in size ) then I did a metainit on this partition as... (6 Replies)
Discussion started by: ianc1234
6 Replies

4. Solaris

Looking for Solstice DiskSuite 4.2

Hi all, Do you know where I can download Soltice Disksuite 4.2 for Solaris 2.6 ? I haven't the CD labeled “Solaris Server Intranet Extensions 1.0” . Thanks in advance for your precious help. Bests Regards Hosni (2 Replies)
Discussion started by: hosni
2 Replies

5. Solaris

mirroring with disksuite

hi all, i want to mirror two disks with disksuite under solaris 9 , doses smeone can explain me Briefly the essential steps to do that plz ? (3 Replies)
Discussion started by: lid-j-one
3 Replies

6. Solaris

DiskSuite dilemma

Hello, We have this system a SunFire 280R running Solaris 8 Generic_117350-46. It has 2 36GB disks in it. They are mirrored with DiskSuite 4.2.1. When we execute a metastat all the devices report an Okay status, but when we go into metatool everything is in the Critical (maintenance)... (4 Replies)
Discussion started by: mgb
4 Replies

7. UNIX for Dummies Questions & Answers

Solaris 10 disksuite

We recently got a third party in to upgrade our solaris 8 sparc server to solaris 10. A few month later I now have a disk mirror problem that I would normally fix by going into the GUI screen "metatool" It appears that the third party didn't install disksuite after the upgrade. Does anyone know... (10 Replies)
Discussion started by: miredale
10 Replies

8. UNIX for Dummies Questions & Answers

disksuite and raidctl used together

I have a live Sunfire v440 server with 4 drives and I want to mirror drive 0 & 1 to 2 & 3. The on-board raid controller only allows for 1 live mirror. I was thinking of disksuite, but unfortunately the second disk is just one large partition with no free slices. I was thinking of using... (0 Replies)
Discussion started by: csgonan
0 Replies

9. Solaris

Solstice DiskSuite

Has anybody every used Solstice DiskSuite? I am having trouble setting it up. I installed it without a problem, but do I really have to blow away the drives on the D1000 just to create a metastate database? (8 Replies)
Discussion started by: hshapiro
8 Replies

10. Solaris

DiskSuite: Breaking mirrors.

Ok, so I have a remote system (7 states away) that's using SDS to manage the two 18 gig disks. /, swap, /var, /home, and /opt. The mirroring procedure I created uses installboot to ensure there's a bootblk on both disks of an SDS mirror. The system has a problem booting (can't write to... (21 Replies)
Discussion started by: BOFH
21 Replies
Login or Register to Ask a Question