From: Mohamed Lrhazi (mohamed@fluidsoft.com)
Date: Tue Oct 08 2002 - 11:23:40 EDT
Hi all,
I am sure I am missing something here, but cannot figure it out.
chromedome# swap -l
swapfile dev swaplo blocks free
/dev/dsk/c0t0d0s1 32,1 16 1049744 1049744
/dev/dsk/c0t1d0s3 32,11 16 1049744 1049744
That is correct, I configured two partitions of 512 MB each for swap.
Let's double check the sizes:
chromedome# prtvtoc /dev/rdsk/c0t0d0s0
* /dev/rdsk/c0t0d0s0 partition map
*
* Dimensions:
* 512 bytes/sector
* 135 sectors/track
* 16 tracks/cylinder
* 2160 sectors/cylinder
* 3882 cylinders
* 3880 accessible cylinders
*
* Flags:
* 1: unmountable
* 10: read-only
*
* First Sector Last
* Partition Tag Flags Sector Count Sector Mount Directory
0 2 00 1049760 3149280 4199039 /
1 3 01 0 1049760 1049759
2 5 00 0 8380800 8380799
7 8 00 4199040 4181760 8380799 /export/home
chromedome# prtvtoc /dev/rdsk/c0t1d0s0
* /dev/rdsk/c0t1d0s0 partition map
*
* Dimensions:
* 512 bytes/sector
* 135 sectors/track
* 16 tracks/cylinder
* 2160 sectors/cylinder
* 3882 cylinders
* 3880 accessible cylinders
*
* Flags:
* 1: unmountable
* 10: read-only
*
* First Sector Last
* Partition Tag Flags Sector Count Sector Mount Directory
0 0 00 0 7331040 7331039 /usr/local
2 5 00 0 8380800 8380799
3 3 01 7331040 1049760 8380799
Now how much swap total do I have? 1 GB? no, 2GB :
Any idea what's wrong here?
chromedome# df -h
Filesystem size used avail capacity Mounted on
/dev/dsk/c0t0d0s0 1.5G 989M 441M 70% /
/proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
fd 0K 0K 0K 0% /dev/fd
swap 2.1G 40K 2.1G 1% /var/run
swap 2.1G 8K 2.1G 1% /tmp
/dev/dsk/c0t1d0s0 3.4G 948M 2.5G 28% /usr/local
/dev/dsk/c0t0d0s7 1.9G 1.7G 206M 90% /export/home
Thank you, I will summarize as soon as.
Mohamed~
-- "Complex problems have simple, easy to understand wrong answers." _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers
This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:25:04 EDT