The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 08-11-2006
GLJ@USC GLJ@USC is offline
Registered User
  
 

Join Date: May 2006
Posts: 17
Creating a new disksuite filessystem

Quote:
Originally Posted by RTM
It might be helpful to have the OS and version - one can only assume this is Solaris due to the md device (normally that's a Disksuite device). Posting the version of Disksuite would also be helpful.

mkfs is not normally used - as stated in the mkfs man page. It also matters if the device already exist and you are trying to make it larger (you can make it smaller but there is no "quick" way to do that).

Another consideration is if this is the root partition you are working with (or swap partition). There are set procedures to expand a root/swap partiton - they have to be followed to insure a viable system. You may want to check out info on sunsolve.sun.com (if you have an account) or
Disksuite info on Docs.sun.com


RTM ,
Thank you for responding. The OS I'm using is Solaris 9 which as you probably know comes with disksuite (now known as SVM). Basically I need to know the command lines to make this:

Filesystem size used avail capacity Mounted on
/dev/md/dsk/d0 998M 98M 840M 11% /
/dev/md/dsk/d3 4.9G 1.1G 3.8G 23% /usr
/proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
fd 0K 0K 0K 0% /dev/fd
/dev/md/dsk/d4 9.9G 319M 9.5G 4% /var
swap 4.8G 24K 4.8G 1% /var/run
swap 4.8G 16K 4.8G 1% /tmp
nfs-fs1,nfs-fs2:/export/usc/sparc.sunos.5
155G 122G 30G 80% /auto/usc


Look like this(/dev/md/dsk/d40 /oracle being the new filesystem):

Filesystem size used avail capacity Mounted on
/dev/md/dsk/d0 943M 91M 796M 11% /
/dev/md/dsk/d2 3.9G 1.2G 2.7G 31% /usr
/proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
fd 0K 0K 0K 0% /dev/fd
/dev/md/dsk/d3 4.8G 282M 4.5G 6% /var
swap 2.3G 32K 2.3G 1% /var/run
swap 2.3G 48K 2.3G 1% /tmp
/dev/md/dsk/d40 3.9G 1.5G 2.4G 40% /oracle

With all the various resources i've read(thanks for pointing me to Sun's Disksuite webpages) I'm still a little stumped on what specific commads I need to run to make this happen. Thanks in advance.