I am adding a new hard drive to my existing 5.8 Sparc machine but before I delve into that I need to understand what is going on on the current drive.
Can someone please explain to me the following information from the 'df' command and the format->partition->print command regarding my current drive?
I'm coming from a Linux background and I want to make sure I understand what I have first. The drive information above is from the 9 GB drive that came with the system. What I don't fully understand are how the /etc/mnttab, /var/run and /tmp partitions fit into the partition table and the "backup" tag which is about the size of the entire hard drive.
Would someone be willing to comment on this for me to shed a little light on how solaris partitions a drive before I continue with adding my new drive?
Are there other tools you would recommend using to examine this kind of information?
Thanks.
Can someone please explain to me the following information from the 'df' command and the format->partition->print command regarding my current drive?
Code:
# df
/ (/dev/dsk/c0t0d0s0 ): 304868 blocks 262371 files
/proc (/proc ): 0 blocks 15866 files
/etc/mnttab (mnttab ): 0 blocks 0 files
/var/run (swap ): 1933200 blocks 109787 files
/tmp (swap ): 1933200 blocks 109787 files
/export/home (/dev/dsk/c0t0d0s7 ): 6864902 blocks 789310 files
# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c0t0d0 <ST39120A cyl 17660 alt 2 hd 16 sec 63>
/pci@1f,0/pci@1,1/ide@3/dad@0,0
1. c0t1d0 <ST320011A cyl 38790 alt 2 hd 16 sec 63>
/pci@1f,0/pci@1,1/ide@3/dad@1,0
Specify disk (enter its number): 0
selecting c0t0d0
[disk formatted, no defect list found]
Warning: Current Disk has mounted partitions.
format> partition
partition> print
Current partition table (original):
Total disk cylinders available: 17660 + 2 (reserved cylinders)
Part Tag Flag Cylinders Size Blocks
0 root wm 0 - 4161 2.00GB (4162/0/0) 4195296
1 swap wu 4162 - 4462 148.15MB (301/0/0) 303408
2 backup wm 0 - 17659 8.49GB (17660/0/0) 17801280
3 unassigned wm 0 0 (0/0/0) 0
4 unassigned wm 0 0 (0/0/0) 0
5 unassigned wm 0 0 (0/0/0) 0
6 unassigned wm 0 0 (0/0/0) 0
7 home wm 4463 - 17659 6.34GB (13197/0/0) 13302576
I'm coming from a Linux background and I want to make sure I understand what I have first. The drive information above is from the 9 GB drive that came with the system. What I don't fully understand are how the /etc/mnttab, /var/run and /tmp partitions fit into the partition table and the "backup" tag which is about the size of the entire hard drive.
Would someone be willing to comment on this for me to shed a little light on how solaris partitions a drive before I continue with adding my new drive?
Are there other tools you would recommend using to examine this kind of information?
Thanks.