09-05-2010
use "newfs" to create a filesystem on your drive.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Does anyone have a list of all the fstypes?
I don't know what fstype to use when mounting the cdrom...
Cheers;) (5 Replies)
Discussion started by: satan404
5 Replies
2. UNIX for Dummies Questions & Answers
Hello all
I'm new to this site and I have to say that ,it is just awesome. I was able to get most of my questions answered by reading the archives.
I've been a UNIX programmer for a while now but new to administration.
I just installed SunOS 5.9 on my desktop ( i86pc) . Everything... (3 Replies)
Discussion started by: luft
3 Replies
3. UNIX for Dummies Questions & Answers
Hi everyone,
I am a beginner in Linux and Shell scripting.I am migrating a couple of shell scripts from Solaris platform to Linux platform.In one script i saw a usage as :
/base/article/ocilib/lobfile $username/$password $filename $filepath
I didn't understand what this represents.The... (2 Replies)
Discussion started by: DILEEP410
2 Replies
4. Solaris
Hello,
I have a problem - I created a chrooted jail for one user. When I'm logged in as root, everything work fine, but when I'm logged in as a chrooted user - I have many problems:
1. When I execute the command ping, I get weird results:
bash-3.00$ usr/sbin/ping localhost ... (4 Replies)
Discussion started by: Przemek
4 Replies
5. UNIX for Advanced & Expert Users
Hi,
I have the following shell script :
Nbr_BD_Link=0
Nbr_BD_Link=`
sqlplus sysadm/${PSWD}@${DB_Name} << EOF | tail -4 | head -1 2>/dev/null
set head off feedback off ;
select count(*) from dba_db_links ;
exit ;
EOF `
echo ${Nbr_BD_Link}
if ; then
... (4 Replies)
Discussion started by: big123456
4 Replies
6. HP-UX
Hi, I am facing an issue with HP-UX box.
-bash-4.0$ uname -a
HP-UX ctsintco B.11.31 U ia64 2795347624 unlimited-user license
When ever iam doing a su - root, it is showing the below error
-bash-4.0$ su - root
Password:
su: Unknown id: root
Can you pls. let me know how to over come... (2 Replies)
Discussion started by: ysrikanth
2 Replies
7. AIX
Hi Guys,
I found on one of the server there are 2 VG's which I dont have any Idea of who created .. as below
bash-3.00$ lsvg
old_rootvg
rootvg
datavg
altinst_rootvg
altinst_rootvg under is meant for alternate disk installation.. But I'm not sure for which version of OS it was... (5 Replies)
Discussion started by: kkeng808
5 Replies
8. Linux
i am trying to build a simple rpm pacakage.
i am trying this example from this link
Creating the Spec File
i created rpm folder in my home directory of rpmbuild account.
in that i have sub folders BUILD,RPMS, SRPMS,SPECS ....
in SPECS folder i have a cdplayer spec file named... (1 Reply)
Discussion started by: anand121
1 Replies
9. Shell Programming and Scripting
Error mounting: mount exited with exit code 1: helper failed with:
mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or soThis happens when I try... (17 Replies)
Discussion started by: 1in10
17 Replies
10. Shell Programming and Scripting
Hello,
I am running ubuntu 16.04 .
Below script gives: "unknown command '\;'
counter=105
while read COL1 COL2 COL3
do
let counter++
url="http://localhost/test/$COL1.$COL2.$COL3";
mysql -uroot -D mydatabase -pmypasswd -e "SELECT video_id FROM video_series_files WHERE id IN \
(SELECT... (12 Replies)
Discussion started by: baris35
12 Replies
LEARN ABOUT OPENSOLARIS
tunefs
tunefs(1M) System Administration Commands tunefs(1M)
NAME
tunefs - tune an existing UFS file system
SYNOPSIS
tunefs [-a maxcontig] [-d rotdelay] [-e maxbpg]
[-m minfree] [-o space | time] special | filesystem
DESCRIPTION
tunefs is designed to change the dynamic parameters of a file system that affect the layout policies. When using tunefs with filesystem,
filesystem must be in /etc/vfstab. The parameters that can be changed are indicated by the options given below.
OPTIONS
The following options are supported:
-a maxcontig The maximum number of logical blocks, belonging to one file, that is allocated contiguously. The default is calculated
as follows:
maxcontig = disk drive maximum transfer size / disk block size
If the disk drive's maximum transfer size cannot be determined, the default value for maxcontig is calculated from
kernel parameters as follows:
If maxphys is less than ufs_maxmaxphys, which is 1 Mbyte, then maxcontig is set to maxphys. Otherwise, maxcontig is
set to ufs_maxmaxphys.
You can set maxcontig to any positive integer value.
The actual value will be the lesser of what has been specified and what the hardware supports.
-d rotdelay This parameter is obsolete as of the Solaris 10 release. The value is always set to 0, regardless of the input value.
-e maxbpg Indicates the maximum number of contiguous logical blocks any single file can allocate from a cylinder group before it
is forced to begin allocating blocks from another cylinder group. Typically this value is set to approximately one
quarter of the total contiguous logical blocks in a cylinder group. The intent is to prevent any single file from
using up all the blocks in a single cylinder group, thus degrading access times for all files subsequently allocated
in that cylinder group.
The effect of this limit is to cause big files to do long seeks more frequently than if they were allowed to allocate
all the blocks in a cylinder group before seeking elsewhere. For file systems with exclusively large files, this
parameter should be set higher.
-m minfree Specifies the minimum free space threshold, or the percentage of space held back from normal users. This value can be
set to 0. However, up to a factor of three in throughput will be lost over the performance obtained at a 10% thresh-
old. Note: If the value is raised above the current usage level, users will be unable to allocate files until enough
files have been deleted to get under the higher threshold.
-o space|time The file system can either be instructed to try to minimize the time spent allocating blocks, or to try to minimize
the space fragmentation on the disk. The default is time.
Generally, you should optimize for time unless the file system is over 90% full.
USAGE
See largefile(5) for the description of the behavior of tunefs when encountering files greater than or equal to 2 Gbyte ( 2^31 bytes).
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
mkfs_ufs(1M), newfs(1M), attributes(5), largefile(5)
SunOS 5.11 5 Dec 2003 tunefs(1M)