09-05-2010
I tried as 'newfs -m 1 \dev\rdsk\c0t1d0s0' but still the same error message.
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
MKFS(8) System Manager's Manual MKFS(8)
NAME
mkfs - construct a file system
SYNOPSIS
/sbin/mkfs [ -i bytes ] [ -s size ] [ -m gap ] [ -n modulus ] special
DESCRIPTION
N.B.: file systems are normally created with the newfs(8) command.
Mkfs constructs a file system by writing on the special file special. The size of the filesystem in logical blocks is specified by the -s
size option. Logical blocks are 1K (2 sectors) under 2.11BSD.
NOTE: The newfs(8) program's -s option is in units of sectors. Newfs(8) converts this to filesystem (logical) blocks for mkfs(8).
The number of inodes is calculated based on the argument bytes to the -i option. The default is 4096. If more inodes are desired in a
filesystem (there is an absolute maximum of 65500) then a lower value for bytes should be used, perhaps 3072 or even 2048.
The flags -m gap and -n modulus determine the block interleaving of the freelist that will be constructed, where gap is the distance
between successive 1024-byte blocks, and modulus is the number of blocks before the pattern repeats, typically one cylinder. The optimal
values for these parameters vary with the speed and geometry of the disk, as well as the speed of the processor. Newfs(8) will calculate
the correct values in almost all cases from the disklabel.
SEE ALSO
fs(5), dir(5), disklabel(8), fsck(8), mkproto(8) newfs(8)
BUGS
The lost+found directory is created but the boot block is left uninitialized (see disklabel(8).)
3rd Berkeley Distribution November 16, 1996 MKFS(8)