03-24-2006
I don't understand what you are trying to do. What is the point of the newfs commands?
10 More Discussions You Might Find Interesting
1. Solaris
Hello,
I am trying to do mirror in solaris 9. I have total 0-7 disks
4 5 6 7
0 1 2 3
Drive 0 and Drive 4 = Boot Drives
Need to Mirror following drives.
Drive 1 and Drive 5 = Need to mirror
Drive 1 was mounted on: /prod1, /prod2, /prod3, /prod4, /prod5.
Then i... (3 Replies)
Discussion started by: deal732
3 Replies
2. Solaris
Hi all,
I have a problem with vxvm volume which is mirror with two disks. when i am try to increase file system, it is throwing an ERROR: can not allocate 5083938 blocks, ERROR: can not able to run vxassist on this volume.
Please find a sutable solutions.
Thanks and Regards
B. Nageswar... (0 Replies)
Discussion started by: nageswarb
0 Replies
3. Solaris
Hello friends,
I need to test some of the solaris 10 concepts and veritas volume manager.i want to know ,where i get the testing labs or E-labs(online) for this practice.i ready to pay for this labs.pls kindly help me to get the details or website names...Thanks in Advance
-Jay (6 Replies)
Discussion started by: rjay.com
6 Replies
4. Solaris
what is the command to see the veritas volume manager 3.0.4 license..in solaris 8.I wnat to see the license number (3 Replies)
Discussion started by: tv.praveenkumar
3 Replies
5. Solaris
Can you please let me know the certification code for veritas volume manager in solaris ? Thanks in advance. (2 Replies)
Discussion started by: gowthamakanthan
2 Replies
6. Solaris
Hello All,
I have small doubt. It's related to SVM in solaris 10. I have created raid 0 (striping) using 3 slices of 500 MB size (default interlace value as 32KB)
d2: Concat/Stripe ---- Interlace value is 32 KB
Size: 2923830 blocks (1.4 GB)
Stripe 0: (interlace: 64 blocks)
Device Start... (1 Reply)
Discussion started by: vaibhav.kanchan
1 Replies
7. Solaris
Hi Friends,
I have to migrate my raid-1 volume to raid -5 online.
Can anyone please help me, If possible then send me the step by step commands for online migration.
Thanks in advance. (2 Replies)
Discussion started by: rajaramrnb
2 Replies
8. Solaris
Need a procedure document to do "root disk mirroring in solaris volume manager for solaris 10". I hope some one will help me asap. I need to do it production environment.
Let me know if you need any deatils on this.
Thanks,
Rama (1 Reply)
Discussion started by: ramareddi16
1 Replies
9. Solaris
Hello Admins..
I am going through solaris volume manager guide for RAID-0 concatenation and stripes, I do not understand the concept of stripe from following example of concatenation.
There is an eample for concatenation:
# metainit d25 1 1 c0t1d0s2
d25: Concat/Stripe is setup
the... (5 Replies)
Discussion started by: snchaudhari2
5 Replies
10. Solaris
Hi all,
I added a new disk slice to the current metadb.
Below is what I see
bash-3.2# metadb -i
flags first blk block count
a m p luo 16 8192 /dev/dsk/c0t0d0s7
a p luo 8208 8192 ... (3 Replies)
Discussion started by: javanoob
3 Replies
NEWFS(8) System Manager's Manual NEWFS(8)
NAME
newfs - construct a new file system
SYNOPSIS
/sbin/newfs [ -N ] [ -m free-gap ] [ -n free-modulus ] [ -i bytes ] [ -s size ] [ -T disk-type ] special
DESCRIPTION
Newfs is a ``friendly'' front-end to the mkfs(8) program. Newfs(8) will normally read the disklabel from the drive to determine the parti-
tion sizes. If the driver for the disk does not support disklabels the -T option must be used to force a search of /etc/disktab for parti-
tion information about drive-type. Newfs calculates the appropriate parameters to use in calling mkfs, then builds the file system by
forking mkfs.
-N causes the mkfs command which would be executed to be printed out without actually creating the file system. The disk specified by spe-
cial must be online though so that newfs can read the disklabel.
-m allows the specification of the block interleaving of the free list. If not specified or outside the range 1 thru 32 then a value of 2
is used.
-n parameter is the freelist modulus (when the -m pattern repeats) and is calculated by newfs to be 1 cylinder in size by default.
-i specifies how many bytes per inode to assume when calculating how many inodes to allocate. The default is 4096 bytes per inode. If
this results in too few inodes being allocated (there is an absolute maximum of 65500) then decrease the bytes number (which must lie
between 512 and 65536).
-T must be used if the disk specified by special has not been labeled with the disklabel(8) program. In this case disk-type is used by
getdisklabel(3) when searching /etc/disktab. This option is used when the underlying device driver does not support disklabels. Care must
be taken that the contents of /etc/disktab match the partition tables in the kernel.
-s specifies how many sectors the file system is to contain. There are two sectors per file system block, therefore size should be even.
This parameter must be less than or equal to the partition size (as determined from the disklabel or /etc/disktab). An error is printed
and no action is taken if the partition size is 0 or too large.
NOTE: Mkfs deals in units of filesystem blocks not sectors. Newfs uses sectors.
FILES
/etc/disktab disk geometry and partition information
mkfs to actually build the file system
SEE ALSO
getdisklabel(3), disklabel(8), disktab(5), diskpart(8), fs(5), fsck(8), mkfs(8)
BUGS
newfs(8) no longer places boot blocks on the filesystem. That duty has been moved to the disklabel(8) program. If you must place a boot
block on a disk whose driver does not support disklabels use dd(1).
4.2 Berkeley Distribution April 12, 1996 NEWFS(8)