![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Remove os mirrored disk Solaris 10 | AQG | SUN Solaris | 3 | 01-10-2008 12:00 PM |
| Solaris 10 not booting with mirrored disk | nitinp82 | UNIX for Dummies Questions & Answers | 1 | 01-25-2007 10:48 AM |
| Creating a Unique ID on distributed systems | pic | High Level Programming | 4 | 05-10-2006 10:25 AM |
| Mirrored disk..... | balaji_prk | AIX | 7 | 12-23-2005 08:26 AM |
| Number of Disk Mirrored in HP-UX | cgege | HP-UX | 2 | 02-27-2004 11:13 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
correct mkfs syntax to create mirrored disk files systems?
What is the correct mkfs syntax to create mirrored disk files systems? I need to make the file system 20gb. For example:
machine# mkfs -F ufs /dev/md/dsk/d40 size not specified ufs usage: mkfs [-F FSType] [-V] [-m] [-o options] special size(sectors) \ [nsect ntrack bsize fragsize cpg free rps nbpi opt apc gap nrpos maxcontig mtb] -m : dump fs cmd line used to make this partition -V : print this command line and return -o : ufs options: :nsect=32,ntrack=16,bsize=8192,fragsize=1024 -o : ufs options: :cgsize=0,free=0,rps=60,nbpi=2048,opt=t -o : ufs options: :apc=0,gap=0,nrpos=0,maxcontig=0 -o : ufs options: :mtb=n,calcsb,calcbinsb NOTE that all -o suboptions: must be separated only by commas so as to be parsed as a single argument machine# Any help is greatly appreciated. Thank you Last edited by RTM; 08-11-2006 at 09:23 AM.. |
|
|||||
|
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 |
|
||||
|
Creating a new disksuite filessystem
Quote:
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. |
|
||||
|
you want to create a 20GB filesystem on the mirror device /dev/md/dsk/d40. Presumably you have created the mirror already using metainit/metattach commands? Are the underlying disk slices 20GB? If so, just use newfs /dev/md/dsk/d40. If the underlying device is larger than 20GB, you can create your 20GB volume using soft partitions.
|
|
||||
|
Disksuite Guide
To anybody who sees this thread here is a greate guide :
http://www.batcom-it.net/index.php?o...d=41&Itemid=41 |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|