07-18-2007
newfs -T /dev/....
or use zfs... just add the disk to a zpool...
Last edited by DukeNuke2; 07-18-2007 at 05:25 PM..
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello !
Does anyone knows which de limit of files in the ufs filesystem in the Solaris 2.6 ??
Danke,
Witt (2 Replies)
Discussion started by: witt
2 Replies
2. Solaris
Hi there,
I am trying to mount a SAN volume (which is mapped to solaris sparc) partitioned with ufs filesystem onto a linux (intel processor 64bit) server.
*I have re-compiled the linux kernel t support ufs fstype with ro mount support.
filesystem on solaris:... (3 Replies)
Discussion started by: ilan
3 Replies
3. Solaris
I have two Unix (Solaris) hosts that are both attached to our SAN. They are both presented with the same luns.
What I want to do is have the same UFS filesystem mounted on both hosts at the same time. What I am trying to accomplish is creating a zone that will reside on both hosts but only... (2 Replies)
Discussion started by: beaker457
2 Replies
4. BSD
Hi, I'm new to BSD and would like to create a dual-boot between Solaris Express Community Edition and FreeBSD.
I would just like to know if the Solaris UFS file system can be written to by BSD?
I know that BSD uses UFS2, but I'm hoping that it is backwards compatible with UFS1 provided that... (0 Replies)
Discussion started by: Johnny SSH
0 Replies
5. Solaris
Hi Gurus
I want to know the command & tips regarding, how to increase or decrease inode number of the particular ufs filesystem. Is it possible to do it in a live/production environment.
Regards (3 Replies)
Discussion started by: girish.batra
3 Replies
6. Solaris
What can I fix this issue? I have ran below commands but everything is same.:confused:
WARNING: Last shutdown is later than time on time-of-day chip: check date.
The / file system (/dev/rdsk/c1t0d0s0) is being checked
WARNING - unable to repair the / filesystem. Run fsck manually (fsck -F... (4 Replies)
Discussion started by: getrue
4 Replies
7. UNIX for Dummies Questions & Answers
Hello, I've got an Ultrix 4.2 ISO file (gxemul doesn't recognize it when I type gxemul -X -e 3max -d rootdisk.img -d Ultrix4_2.iso)
So I read some other posts which show that this can be done via a UFS CDROM image. But I don't know how to create one. Anyway, I think the ISO file could be in... (0 Replies)
Discussion started by: lucky7456969
0 Replies
8. Solaris
I'm prompted to start this thread following my attempt to help on this thread here (see my posts).
I was proposing the OP deep checked a Solaris ufs filesystem using:
# fsck -o full <filesystem node>
however this option does not appear to be valid on Solaris 10.
I've used... (8 Replies)
Discussion started by: hicksd8
8 Replies
9. Solaris
I need to increase the /var (UFS) filesystem and root disk under veritas control or root disk is encapsulated
# df -k /var
Filesystem kbytes used avail capacity Mounted on
/dev/vx/dsk/var 13241195 12475897 674524 96% /var
# fstyp /dev/vx/dsk/var
ufs
# pkginfo... (1 Reply)
Discussion started by: amity
1 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)