Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Creating create mirrored disk files systems using mkfs command Post 302084178 by GLJ@USC on Wednesday 9th of August 2006 01:46:39 PM
Old 08-09-2006
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 10:23 AM..
 

10 More Discussions You Might Find Interesting

1. HP-UX

Number of Disk Mirrored in HP-UX

In HP-UX 11.00 How can i check if there are disks mirrored (2 Replies)
Discussion started by: cgege
2 Replies

2. AIX

Mirrored disk.....

How do I know, which all disks are mirrored? any command? Bala (7 Replies)
Discussion started by: balaji_prk
7 Replies

3. Programming

Creating a Unique ID on distributed systems

Hi, How do you actually create a unique ID on a distributed system. I looked at gethostid but the man page says that its not guaranteed to be unique. Also using the IP address does not seem to be a feasible solution. Is there a function call or mechanism by which this is possible when even the... (4 Replies)
Discussion started by: pic
4 Replies

4. UNIX for Dummies Questions & Answers

Solaris 10 not booting with mirrored disk

Hi all, I have a V490 running with Solaris 10. The OS disk was mirrored. I wanted to break the mirror, boot with the secondary mirror, and re-mirror the OS with a new disk. This is what I did, detached the metadevices of the secondary mirror disk (disk 1) metaclear-ed the metadevices,... (1 Reply)
Discussion started by: nitinp82
1 Replies

5. Solaris

Remove os mirrored disk Solaris 10

Hello once again seeking your help, I have a mirrored disk and need to unmirror it to mount it as a new file system (/export) but could not find the correct steps to do it with out affecting the original disk. can anybody point me out on how to get this done. Thanks!! (3 Replies)
Discussion started by: AQG
3 Replies

6. Solaris

Creating an image of a mirrored disks

Hi guys, I havent done this before but iam trying to create an image of a mirrorred drive. Correct me if iam wrong, but when i have two disks setup in raid configuration and have them mirrored in solaris. It then defines at one entity. How would i create a "flar" image of that one entity... (3 Replies)
Discussion started by: tlee
3 Replies

7. UNIX for Advanced & Expert Users

how to create multiple-boot system with disks mirrored(RAID1+0) and disk alone

I have a HP proliant ML 570 G3 with two 146GB disk drives mirrored(RAID1+0) windows server 2003 was installed on that disk. I will add a disk.(scsi 300GB) I will install Linux on that additional disk. I want to create multiple-boot system. Is it possible? I wanna know how to create... (0 Replies)
Discussion started by: lifegeek
0 Replies

8. Solaris

Boot from Mirrored disk

So I have mirrored disk already set up from c1t0d0 to c1t1d0. Is there some special procedures that I need to do before I do and then try to boot from the mirrored disk? I am using a V490 if that helps... (7 Replies)
Discussion started by: drew_1980
7 Replies

9. Solaris

Need help replacing a mirrored boot disk

I have a v480 with a mirrored boot disk c1t0 and c1t1. The drives themselves don't show a failure but the mirror's need maintenance. This is my plan for replacing the drive. I would love feedback to point out what I"m missing or where my steps are incorrect. Two things I believe I'm... (3 Replies)
Discussion started by: pcoffey
3 Replies

10. Red Hat

Booting 2nd mirrored boot disk

Hi guys, thanks for helping out. If you have two boot disk mirrored and your primary boot disk fails, how will you boot the system from the second disk? Thank you very much for your assistance on this matter. Arrey (5 Replies)
Discussion started by: cjashu
5 Replies
mkfs.jfs(8)						     JFS file system creation						       mkfs.jfs(8)

NAME
mkfs.jfs - create a JFS formatted partition SYNOPSIS
mkfs.jfs [options] device DESCRIPTION
mkfs.jfs is used to create (format) a JFS partition. mkfs.jfs must be run as root. device is the special file name corresponding to the actual device (e.g. /dev/hdb1) on which a JFS file system will be created. The default block size is 4096. WARNING
mkfs.jfs will destroy all data on the specified device! OPTIONS
-c Check the device for bad blocks before building the file system. -L volume_label Set the volume label for the file system. -O Provide case-insensitive support for compatibility with OS/2. -q Quiet execution - do not ask for confirmation before creating the file system. -s log_size Set the log size (in megabytes). If the -s option is not used, the default log size is 0.4% of the aggregate size. -V Print version information and exit (regardless of any other chosen options). EXAMPLES
Format 3rd partition on 2nd hard disk with the volume label "JFS_hdb3": mkfs.jfs -L JFS_hdb3 /dev/hdb3 Format 5th partition on 1st hard disk, verifying each block created: mkfs.jfs -c /dev/hda5 REPORTING BUGS
If you find a bug in JFS or mkfs.jfs, please report it via the bug tracking system ("Report Bugs" section) of the JFS project web site: http://oss.software.ibm.com/jfs Please send as much pertinent information as possible including any error messages resulting from running mkfs.jfs and the complete output of running fsck.jfs with the -v option. SEE ALSO
mkfs(8), fsck.jfs(8), extendfs(8), logdump(8), logredo(8), xchkdmp(8), xpeek(8) AUTHORS
Barry Arndt (barndt@us.ibm.com) William Braswell, Jr. mkfs.jfs is maintained by IBM. See the JFS project web site for more details: http://oss.software.ibm.com/jfs/ November 9, 2001 mkfs.jfs(8)
All times are GMT -4. The time now is 02:08 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy