I'm posting the output from two disks on my Solaris machine. The first part is the output from using the format command and then using the verify option on each disk. The last part is the output from my df -k command. I'm trying to match the partition to the filesystem/mount point. I'm assuming the disks are mirrored. Is there a command or option under format that better shows the correlation between the partition and mount point? I was also wondering why partition 0 and 2 seem to overlap as they both begin at cylinder 0?
okay. I did a man page on metastat. I don't think that is exactly what I'm looking for. I have an HP-UX back ground and I'm used to the bdf command. You can easliy see the volume group and logical volume with the mount point also displayed. Is there anything in Solaris more like this output? Or how do I determine what partition the filesystem column is referring to in the df -k output?
I did the metastat d2 command. It still doesn't help me understand the correlation between partition/slice and mount point. It seems to deal with the mirroring aspect, which is great to know. And I understand that Solaris isn't like HP-UX, I was just using that to show my point and the information I was looking for.
so what's wrong with your "df -k" ? you could use "df -h" to see an human output but your mirror is mounted not the single slices.... that's the sense of the solaris volume manager......
/dev/md/dsk/d2, like Perderabo, said contains to same slices d0 and d1 which is c1t0d0s0 and c1t1d0s0 .....
I guess the mirror part is why I'm confused. I've never dealt with mirrored disks like this. So according to the output I've already listed here. Only slice 0 is mirrored on this machine? Or is it the entire disk (all slices)?
you would have to post the output of "metastat". you get the definition of every mirror in your maschine without any option..... but as far as i can see now at your df -k output the "/" and "/opt" is based on metadevices.....
Can you tell me anything at all about the physical disks involved? One of the system has MirrorDisk/UX installed; and on that system, vg00 is mirrored. Which system? The HP-UX /dev/vg00/lvol1 and the SunOS /dev/md/dsk/d2 are actually rather close in concept. In both cases you need another command to trace back to the physical disk. Now looking at the SunOS "df -k" output...
I'm not sure I understood all your questions for me from the last reply. I do agree that that df -k and bdf are very simular, I was just confused by the mirroring and why some of the system type info is list the way it is. Could you explain one last point for me...
I see that /proc, fd, mnttab & swap are listed in the df -k. And I can see that /proc, fd & mnttab don't actually have any space allocated to them. I know that mnttab is used by the system to keep track of mount points. What is the purpose of /proc & fd? And why does swap have two listings and mounted at /var/run & /tmp?
thanks guys!!
/tmp and /var/run are swap-based filesystems. Anything in them will disappear at reboot time. They are like "memory-disk" filesystems, except that they use vitrual memory rather than physical memory. Putting stuff in /tmp or /var/run consumes some swap space. The proc, fd, and mnttab are psuedo filesystem they don't count as disk space at all. /proc is all of the processes. ps runs by looking at it. /dev/fd lets you treat your file descriptors as if they were files. mnttab is a file system that exists only for /etc/mnttab... not my favorite idea, but /etc/mnttab is *alway* in sync with the kernel table.