[HELP] mirroring disk at solaris 8 sparc v890


 
Thread Tools Search this Thread
Operating Systems Solaris [HELP] mirroring disk at solaris 8 sparc v890
# 1  
Old 09-27-2006
Error [HELP] mirroring disk at solaris 8 sparc v890

hi expert,

sorry i'm new in solaris system, need more advice and help Smilie
i'm confusing with mirroring disk at my sparc v890 solaris 8, i have 6 harddisk which the structure shown below :

format :
AVAILABLE DISK SELECTIONS:
0. c1t0d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w500000e011c32ce1,0
1. c1t1d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w500000e011c7b811,0
2. c1t2d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w500000e011c5c151,0
3. c1t3d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w500000e011c796f1,0
4. c1t4d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w500000e011c43851,0
5. c1t5d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w500000e011c5ab01,0


df -k :
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c1t0d0s0 12407404 858833 11424497 7% /
/proc 0 0 0 0% /proc
fd 0 0 0 0% /dev/fd
mnttab 0 0 0 0% /etc/mnttab
/dev/dsk/c1t0d0s3 38295 9124 25342 27% /var
swap 60505584 16 60505568 1% /var/run
/dev/dsk/c1t4d0s0 141065220 9 139654559 1% /data3
/dev/dsk/c1t2d0s0 141065220 9 139654559 1% /data2
/dev/dsk/c1t0d0s6 54290847 9 53747930 1% /data
/dev/dsk/c1t0d0s4 199327 4808 174587 3% /opt
/dev/dsk/c1t0d0s7 49580320 27 49084490 1% /tmp
/dev/dsk/c1t1d0s7 49580320 11 49084506 1% /export/home


mnttab :
/dev/dsk/c1t0d0s0 / ufs rw,intr,largefiles,onerror=panic,suid,dev=1d80010 1159265792
/proc /proc proc dev=40c0000 1159265792
fd /dev/fd fd rw,suid,dev=4180000 1159265793
mnttab /etc/mnttab mntfs dev=4280000 1159265793
/dev/dsk/c1t0d0s3 /var ufs rw,intr,largefiles,onerror=panic,suid,dev=1d80013 1159265794
swap /var/run tmpfs dev=1 1159265794
/dev/dsk/c1t4d0s0 /data3 ufs rw,intr,largefiles,onerror=panic,suid,dev=1d80000 1159265796
/dev/dsk/c1t2d0s0 /data2 ufs rw,intr,largefiles,onerror=panic,suid,dev=1d80018 1159265796
/dev/dsk/c1t0d0s6 /data ufs rw,intr,largefiles,onerror=panic,suid,dev=1d80016 1159265796
/dev/dsk/c1t0d0s4 /opt ufs rw,intr,largefiles,onerror=panic,suid,dev=1d80014 1159265796
/dev/dsk/c1t0d0s7 /tmp ufs rw,intr,largefiles,onerror=panic,suid,dev=1d80017 1159265796
/dev/dsk/c1t1d0s7 /export/home ufs rw,intr,largefiles,onerror=panic,suid,dev=1d8002f 1159265796
-hosts /net autofs indirect,nosuid,ignore,nobrowse,dev=4300001 1159265797
auto_home /home autofs indirect,ignore,nobrowse,dev=4300002 1159265797
-xfn /xfn autofs indirect,ignore,dev=4300003 1159265797


how to do mirroring for my 6 harddisk ?

any step by step advices please

thank you

Best Regards,

wu
# 2  
Old 09-27-2006
In your current configuration, you can't mirror all four drives. You could mirror /data2 and /data3 to c1t3 and c1t5 (this is assuming that you aren't using them at this time for anything).

If you wanted to mirror all drives, then you would have to free up one drive to allow 3 empty/unused drives. Since you haven't put the partition tables, it is hard to tell what space is being used by swap.

A possible solution is to move /export/home to c1t0 but even this would cause issues since you have both the OS partitions and /data on the same drive. Performance may be effected in attempting to have so much on c1t0.
There is also an issue with /data2 and /data3 - if they are using all the space on the drive, then you would have nothing left for a metadb (which doesn't require much space, maybe 1 cylinder but it would still cause a possible issue if you have to reformat /data2 and /data3)

Currently:
c1t0d0 - / /var /data /opt 116477898
c1t1d0 - /export/home 49580320
c1t2d0 - /data2 141065220
c1t3d0
c1t4d0 - /data3 141065220
c1t5d0


Possible solution ( Don't assume this will work - it doesn't take into account your swap partition and metadb slices or the effect of /data on c1t0)
c1t0d0 - / /var /data /opt /export/home 128885302
c1t1d0 - mirror c1t0
c1t2d0 - /data2 141065220
c1t3d0 - mirror c1t2
c1t4d0 - /data3 141065220
c1t5d0 - mirror c1t4

All in all, you really need to rethink what this needs and how to set it up. Having /data on the same drive as /, /var, /opt will possibly cause issues with the drive and how many writes will be going to that one drive (and then if it's mirrored, to the mirrored drive). Post the partition table of c1t0.
# 3  
Old 09-28-2006
hi expert,

thank you for your solution, btw how to move /export/home to c1t0 ?

fyi, this server is the new server and dont have any data

thank you

Best Regards,

wu

Quote:
Originally Posted by RTM
In your current configuration, you can't mirror all four drives. You could mirror /data2 and /data3 to c1t3 and c1t5 (this is assuming that you aren't using them at this time for anything).

If you wanted to mirror all drives, then you would have to free up one drive to allow 3 empty/unused drives. Since you haven't put the partition tables, it is hard to tell what space is being used by swap.

A possible solution is to move /export/home to c1t0 but even this would cause issues since you have both the OS partitions and /data on the same drive. Performance may be effected in attempting to have so much on c1t0.
There is also an issue with /data2 and /data3 - if they are using all the space on the drive, then you would have nothing left for a metadb (which doesn't require much space, maybe 1 cylinder but it would still cause a possible issue if you have to reformat /data2 and /data3)

Currently:
c1t0d0 - / /var /data /opt 116477898
c1t1d0 - /export/home 49580320
c1t2d0 - /data2 141065220
c1t3d0
c1t4d0 - /data3 141065220
c1t5d0


Possible solution ( Don't assume this will work - it doesn't take into account your swap partition and metadb slices or the effect of /data on c1t0)
c1t0d0 - / /var /data /opt /export/home 128885302
c1t1d0 - mirror c1t0
c1t2d0 - /data2 141065220
c1t3d0 - mirror c1t2
c1t4d0 - /data3 141065220
c1t5d0 - mirror c1t4

All in all, you really need to rethink what this needs and how to set it up. Having /data on the same drive as /, /var, /opt will possibly cause issues with the drive and how many writes will be going to that one drive (and then if it's mirrored, to the mirrored drive). Post the partition table of c1t0.
# 4  
Old 09-28-2006
Post the partition table of c1t0 by going into format, pick disk c1t0, p,p, and copy the output to here.
# 5  
Old 09-29-2006
hi expert,

thank you for you help, i had reinstall the sun solaris 8 os and try to create mirror for the harddisk and work properly now

thank you

Best Regards

wu

Quote:
Originally Posted by RTM
Post the partition table of c1t0 by going into format, pick disk c1t0, p,p, and copy the output to here.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Root disk mirroring in Solaris 10

I would like to perform root disk mirroring task. Can someone please help me out on this. Thanks !! Regards, Rama (2 Replies)
Discussion started by: ramagore85
2 Replies

2. Solaris

root disk mirroring in solaris volume manager for solaris 10

Need a procedure document to do "root disk mirroring in solaris volume manager for solaris 10". I hope some one will help me asap. I need to do it production environment. Let me know if you need any deatils on this. Thanks, Rama (1 Reply)
Discussion started by: ramareddi16
1 Replies

3. Solaris

Moving disk partition from Solaris sparc to x86

Hello Gurus, Im trying to migrate some SAN disks from sparc server to X86 one, and having issues with disks not getting mounted on the X86 server with " not this fstyp error" due to the different partitions lay out between the two OS. I have tried it from sparc to sparc server and it worked,... (10 Replies)
Discussion started by: aladdin
10 Replies

4. Solaris

Disk Mirroring on solaris 5.8

Hi Friends, I am having Sun Solaris 5.8 OS installed having 2 different size hard disk, sizes are c0t0d0s0(160 GB) and c0t2d0s0 (40GB). I have installed Sun Solaris 5.8 OS in c0t0d0s0 (160GB) harddisk. I have configured all the parameters required for disk mirroring. But when executing... (4 Replies)
Discussion started by: Vijayakumarpc
4 Replies

5. Solaris

Solaris 10 Disk Mirroring

Has anyone managed to set up disk mirroring in Solaris 10 yet? If so can you point me in the direction of some useful documentation please. Cheers (25 Replies)
Discussion started by: korfnz
25 Replies

6. Solaris

Disk Mirroring for Solaris 10 x86

I am having an issue with setting up disk mirroring for Solaris 10 on an x86 server. My main problem is that the volumes and slices have already been setup and our proprietary software has already been installed and configured. The entire drive has been allocated in this configuration and the... (2 Replies)
Discussion started by: chuck43
2 Replies

7. Solaris

[need help] error after configure network card at v890 sparc

hi experts, i have some problem with my server v890, i had config the network with ce0,ce1 and eri0 but after reboot the server have this error messages display : WARNING: ce0: fault detected external to device; service degraded WARNING: ce0: xcvr addr:0x01 - link down configuring IPv4... (2 Replies)
Discussion started by: bucci
2 Replies

8. Solaris

[help]network error after reboot server v890 sparc

hi expert, i had reinstall the sun v890 server solaris 8 and also do mirroring, i had configure the network for the server (hostname.eri0,hosts,netmasks,nodename,etc) after i reboot get and error messages below : Setting default IPv4 interface for multicast: add net 224.0/4: gateway... (5 Replies)
Discussion started by: bucci
5 Replies

9. UNIX for Advanced & Expert Users

Solaris 8 disk/mirroring issue

Hello! I recently inherited system administration duties for a SUN v880 box. The system has 6 physical hard disks.. In doing some basic maintenance, I found they're configured for mirroring. I ran the metastat and metadb commands, and many of the mirrors are showing they are in need of... (5 Replies)
Discussion started by: ghuber
5 Replies

10. Solaris

Solaris mirroring / non-root disk

Hi Guys, Need to add 2 disks into a JBOD array (3310). Does anyone see anything wrong with my Procedure / Doco below? 1> Logon to system, check system logs for abnormal entries. 2> Make backups of related system files: A>cp -p /etc/system /etc/system.backup.081505 B>cp -p /etc/vfstab... (3 Replies)
Discussion started by: BG_JrAdmin
3 Replies
Login or Register to Ask a Question

Featured Tech Videos