08-09-2011
what is the output of "rmformat"? the 3rd drive could be your DVD or another external device...
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
All,
I want to run a non-root script as the root user with non-root environment variables with crontab. The non-root user would have environment variables for database access such as Oracle or Sybase. The root user does not have the Oracle or Sybase enviroment variables. I thought you could do... (2 Replies)
Discussion started by: bubba112557
2 Replies
2. Solaris
Hi Gurus out there...
I am pondering over a situation where I have non-root access (user account), where I am trying to determine paths (including multipaths) on a host.
"luxadm display" seems very appropriate, but requires root access.
Is there anyway I can get the FC path information?
... (1 Reply)
Discussion started by: verisund
1 Replies
3. UNIX for Dummies Questions & Answers
hi
i am new to unix and i have abig task. i have to \run particular commands having root privileges from a non root user. i know sudo is one of the way but i need sum other approach kindly help
Thanks (5 Replies)
Discussion started by: suryashikha
5 Replies
4. Solaris
Hello All,
I am trying to mirror two non-root hard drives using zfs. But "fmthard" fails when I try to copy the vtoc due to disk mismatch. Please help me.
--- iostat command shows the disk to be similiar
--- format command shows disk to be different :confused:
--- c1t2d0 is the active... (8 Replies)
Discussion started by: pingmeback
8 Replies
5. Solaris
I'm going to install a fresh Solaris 10 5/09 install on a UFS on a server with 2 disks attached to a SCSI controller and i want to mirror those disks at install time is there any to do this , As far as i know Jump start and live upgrade are the sole way to do this , is there anyways except... (3 Replies)
Discussion started by: h@foorsa.biz
3 Replies
6. Solaris
Hi All
After downloading ZFS documentation from oracle site, I am able to successfully migrate UFS root FS without zones to ZFS root FS. But in case of UFS root file system with zones , I am successfully able to migrate global zone to zfs root file system but zone are still in UFS root file... (2 Replies)
Discussion started by: sb200
2 Replies
7. Solaris
Hi all!
Please I would appreciate some inputs on the following:
I have inherited a SUN BLADE chassis with 6 T6320 server modules, in which there is only 1 root disk in all of them. I need to do a backup of the root disk in case those disk crash. But there is no backup device attached to it.... (6 Replies)
Discussion started by: fretagi
6 Replies
8. Shell Programming and Scripting
I need to list users in /etc/passwd with root's GID or UID or /root as home directory
If we have these entries in /etc/passwd
root:x:0:0:root:/root:/bin/bash
rootgooduser1:x:100:100::/home/gooduser1:/bin/bash
baduser1:x:0:300::/home/baduser1:/bin/bash... (6 Replies)
Discussion started by: anil510
6 Replies
9. UNIX for Dummies Questions & Answers
I had a question in my test which asked where suppose user B has a program with 's' bit set. Can user A run this program and gain root privileges in any way?
I suppose not as the suid program run with privileges of owner and this program will run with B's privileges and not root. (1 Reply)
Discussion started by: syncmaster
1 Replies
10. Solaris
Hi !
I wonder if in solaris 10 there is a utility similar to ignite in HP-UX that backup entire file systems (/, /usr, /var, /tmp, /home).
I have to backup only the root disk of a server, but ufsdump seem to be backing up individual file systems....only, am I correct? (1 Reply)
Discussion started by: fretagi
1 Replies
LEARN ABOUT CENTOS
jfs_mkfs
jfs_mkfs(8) JFS file system creation jfs_mkfs(8)
NAME
jfs_mkfs - create a JFS formatted partition
SYNOPSIS
jfs_mkfs [options] device [ blocks ]
DESCRIPTION
jfs_mkfs is used to create (format) a JFS partition. jfs_mkfs 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 and/or JFS journal will be
created. blocks is the number of blocks to be used for the file system. If omitted, jfs_mkfs automatically figures the file system size.
The default block size is 4096.
WARNING
jfs_mkfs will destroy all data on the specified device!
OPTIONS
-c Check the device for bad blocks before building the file system.
-j journal_device
Create the external JFS journal on journal_device , create the JFS file system on device , and attach the external journal to the
file system.
-J journal-options
Create the JFS journal on its own device or attach an external JFS journal to the JFS file system using options specified on the
command-line. The following journal options are supported:
journal_dev
Create an external JFS journal on the given device.
device=external-journal
Attach an existing external JFS journal located on external-journal to the JFS file system that will be created on
device. The external journal must already have been created using the command
jfs_mkfs -J journal_dev external-journal
Attach the external journal to the file system being created by using the command
jfs_mkfs -J device=external-journal device
Instead of specifying a device name directly, external-journal can also be specified by either LABEL=label or UUID=UUID
to locate the external journal by either the volume label or UUID stored in the JFS external log superblock at the start
of the journal. Use jfs_tune(8) to display a journal device's volume label and UUID. (See the -l, -L, and -U options
of jfs_tune(8).)
Only one of the journal_dev or device= options can be given per jfs_mkfs issuance.
-L volume_label
Set the volume label for the newly formatted device.
If -L volume_label is used along with -J journal_device, the volume label of the specified external journal device will be set to
volume_label. Otherwise, the volume label of the JFS file system will be set to volume_label.
-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) of the inline log. 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":
jfs_mkfs -L JFS_hdb3 /dev/hdb3
Format 5th partition on 1st hard disk, verifying each block created:
jfs_mkfs -c /dev/hda5
Format 3rd partition on 2nd hard disk as external journal, format 4th partition on 1st hard disk as JFS file system, and attach the exter-
nal journal to the file system:
jfs_mkfs -j /dev/hdb3 /dev/hda4
REPORTING BUGS
If you find a bug in JFS or jfs_mkfs, please report it via the bug tracking system ("Report Bugs" section) of the JFS project web site:
http://jfs.sourceforge.net/
Please send as much pertinent information as possible including any error messages resulting from running jfs_mkfs.
SEE ALSO
mkfs(8), jfs_fsck(8), jfs_fscklog(8), jfs_tune(8), jfs_logdump(8), jfs_debugfs(8)
AUTHORS
Barry Arndt (barndt@us.ibm.com)
William Braswell, Jr.
jfs_mkfs is maintained by IBM.
See the JFS project web site for more details:
http://jfs.sourceforge.net/
March 9, 2005 jfs_mkfs(8)