I have recently been told i need to look after a clients Solaris servers (8,9 and 10) and wondered if i could ask the forum for some quick advice on a couple of things. All my previous admin work is on HPUX and have discovered the way the Solaris disk management and file system management is massively different. So i wonder if you might be able to offer some help on a couple of questions.
One of my first tasks is to identify if the servers have got mirrored boot disks. In HPUX i would simply type lvlnboot -v and it would tell me, but i cannot find anywhere a single command in Solaris that would tell me this.
Question1 : Is there a single command i can run that will tell me if the disks are mirrored?
The other think that is confusing me is how the filesystems are set up. I have been looking at the format command as this is the only way i have found that will list the disks and give me an idea if they are internal or in an external array.
While i was looking in the format command i checked out the partition table. On the server i looked at i went into the format command twice, each time choosing a different disk, both of which appear to be internal and i saw these outputs from the print command;
DISK1;
partition> print
Current partition table (original):
Total disk cylinders available: 14087 + 2 (reserved cylinders)
Question 2: Is there a single command that will tell me if a disk is internal or external instead of using format?
Question 3: Looking at the above output am i correct in assuming that the 2nd disks is a mirror of the first? It just bothered me why the number of blocks was so different to achieve roughly the same size (9.20Gb)
I am going to try and find some documentation for Solaris 8,9 and 10 that explains how Solaris manages disks and filesystems in the meantime, but any help would be brilliant.
Ad. Q1: There are three ways (two if it is Solaris 8 or 9) in which Solaris can mirror root disk:
1. SVM - Solaris Volume Manager. To check if it is the case do the following:
If "Filesystem" is something like /dev/md/dsk/d0 then you have root on SVM volume. Next check if it is mirror by doing:
d0 might be something else in your case.
2. ZFS - only for Solaris 10. Check it the same way:
If it says something like rpool/ROOT/sol_10_u9_zfs (last part will be different), then you have ZFS root. To check if it is mirrored do:
3. Hardware RAID. It is the least common. I only encountered this kind of mirroring on some T2000 servers. Output of df -h / will look like root was placed on local disk slice (c0t0d0s0), but when you do
it will list that disk (c0t0d0) as volume built from physical disks.
Ad. Q2: most often external disks are SAN LUNS, which look like this in format output: "c5t60080E8004D2A6000000A1A500000D21d0". Anything else (much shorter, like c0t1d0) is most likely internal disk.
Ad. Q3: You cannot tell from format's output if the disk is part of a mirror.
your disks are certainly tracking quite closely....
what system (hardware) are you running?
post the outputs of `metastat -a` & `metadb`
post up /etc/vfstab too - that'll give us an indication of whats going on too
Use format to find the disks. They will look like "c1t0d0" or "c0t3d0" or something with cNtNdN designation. Run this to see the disk list:
This will give you output like this:
Then use prtvtoc to see the disk partitions. Run:
to see the partitions. Dont forget to add the "s2" at the end of the disk. You'll see something like this:
Hi Gurus
I am not able to find the patching procedure for solaris 10 ( sol10 u11) to latest patchset with sun cluster having failover zones so that same I should follow.
Take an instance, there are sol1 and sol2 nodes and having two failover zones like sozone1-rg and sozone2-rg and currently... (1 Reply)
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)
Hi,
I am unable to login into my terminal hosting Solaris 10 and get the below error message
"Server refused to allocate pty
ld.so.1: sh: fatal: libc.so.1: open failed: No such file or directory "
Is there anyways i can get into my machine and what kind of changes are required to be... (7 Replies)
I have compiled my application on Solaris 10 with following description
SunOS ldg1 5.10 Generic_138888-03 sun4v sparc SUNW,Sun-Blade-T6320
The compiler is Sun C++ 5.9 SunOS_sparc Patch 124863-01 2007/07/25
But when installing the application on Solaris 9
SunOS odcarch02 5.9... (2 Replies)