07-02-2012
thank all !, i alredy success
have one lun add on server
[root@ ~]# multipath -l
mpath1 (360080e50002c085e00006d924fc314aa) dm-0 IBM,1814 FAStT
[size=500G][features=0][hwhandler=0][rw]
and
(vi /etc/multipath.conf) add wwid LUN with alias ibm5020
so i continues vi /etc/fstab and mount /newApps - > everything ok
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I use maix command to sent mails.
i can sent only plain text mails.
Unable to sent mails in html format.
while sending mails in html format, the received mail has the html code only. (17 Replies)
Discussion started by: p_prathaban
17 Replies
2. Solaris
Hi all,
I have a pendrive that is fat formatted...
It was being detected so far on solairs...but now during the re-installation of solaris ,i did not remove the drive and guess i screwed it up...
since then , i am unable to use it...guess its now not formatted or is corrupt...
but the irony... (3 Replies)
Discussion started by: wrapster
3 Replies
3. Shell Programming and Scripting
Dear Guru's
Given a full filename /a/b/c/d/file.txt how do i determine what part is the mount point ( say /a/b).
Cheers, Karel (6 Replies)
Discussion started by: karelb
6 Replies
4. Shell Programming and Scripting
Hi All,
I want chage the date value YYMM to YYYYMM in my script.
I am trying, but not get it.
Eg: 1109 changed to 201109.
$(if ] then
echo "1"
else
echo "update_month<=$ARCHIVE_DT"
fi)
Through above i got "update_month<=1109" in else, but i must get it "update_month<=201109"
... (4 Replies)
Discussion started by: pdathu
4 Replies
5. UNIX for Advanced & Expert Users
Hello All,
I am new to System/plat-form administration work. Right now I am facing some issues while creating the filesystem and mounpoint. I am using Linux 6.0 SuSE 11. Last time I was used one command to partition the given space along with filesystem in SuSE 9 and it was done in GUI mode but... (0 Replies)
Discussion started by: nvkuriseti
0 Replies
6. Shell Programming and Scripting
Dear all,
I am unable to get the desired result upon executing the below script. the problem is at `perl -le 'print scalar localtime $msecage'` ouput which gives the following result "Thu Jan 1 05:00:00 1970" instead of "Tue Nov 13 10:30:56 2012" but when I run the same command from shell... (2 Replies)
Discussion started by: m_raheelahmed
2 Replies
7. AIX
root@atldc-oragrid-ux01:/oragrid_01> du -sg *
0.58 11gR2gridBase
47.31 Grid_11203
4.17 app
0.00 lost+found
0.01 oraInventory
root@atldc-oragrid-ux01:/oragrid_01> cd Grid_11203
root@atldc-oragrid-ux01:/oragrid_01/Grid_11203> du -sg *|sort
0.00 JRE
0.00 OPatch_old
0.00 ... (11 Replies)
Discussion started by: Vishal_dba
11 Replies
8. Shell Programming and Scripting
Hi,
I am new to shell scripting. I prepared a very simple script to monitor mount points but not geting desired output.
df -h|awk -F' ' '{ if ($5 >= 80) print "CRITICAL\n" $NF " mount point has reached " $5;}'|sed -n '3,$p'
When I run above script in Sun solaris box it is executing... (8 Replies)
Discussion started by: sv0081493
8 Replies
9. UNIX for Dummies Questions & Answers
Hello,
I need to create mountpoint in linux from rawdevices without using lv's.
Please help me with the steps to do this.
Best regards,
Vishal (2 Replies)
Discussion started by: admin_db
2 Replies
10. SuSE
Hello All,
I am new to use linux. I installed SUSE Linux Enterprise Server 11 (x86_64) trail version which is free for 60 days.
Now I want to again format the whole system and install the same OS again but its not happening.
I am trying with a bootable pen drive which has an .iso image of... (1 Reply)
Discussion started by: hunk_harsha
1 Replies
mkfs(1M) System Administration Commands mkfs(1M)
NAME
mkfs - construct a file system
SYNOPSIS
mkfs [-F FSType] [generic_options] [-o FSType-specific_options] raw_device_file [operands]
DESCRIPTION
The mkfs utility constructs a file system on the raw_device_file by calling the specific mkfs module indicated by -F FSType.
Note: ufs file systems are normally created with the newfs(1M) command.
generic_options are independent of file system type. FSType-specific_options is a comma-separated list of keyword=value pairs (with no
intervening spaces), which are FSType-specific. raw_device_file specifies the disk partition on which to write the file system. It is
required and must be the first argument following the specific_options (if any). operands are FSType-specific. See the FSType-specific
manual page of mkfs (for example, mkfs_ufs(1M)) for a detailed description.
OPTIONS
The following are the generic options for mkfs:
-F Specify the FSType to be constructed. If -F is not specified, the FSType is determined from /etc/vfstab by matching the
raw_device_file with a vfstab entry, or by consulting the /etc/default/fs file.
-V Echo the complete command line, but do not execute the command. The command line is generated by using the options and arguments
provided and adding to them information derived from /etc/vfstab or /etc/default/fs. This option may be used to verify and vali-
date the command line.
-m Return the command line which was used to create the file system. The file system must already exist. This option provides a means
of determining the command used in constructing the file system.
-o Specify FSType-specific options. See the manual page for the mkfs module specific to the file system type.
USAGE
See largefile(5) for the description of the behavior of mkfs when encountering files greater than or equal to 2 Gbyte ( 2**31 bytes).
FILES
/etc/default/fs Default file system type. Default values can be set for the following flags in /etc/default/fs. For example:
LOCAL=ufs
LOCAL The default partition for a command if no FSType is specified.
/etc/vfstab List of default parameters for each file system
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
mkfs_ufs(1M), newfs(1M), vfstab(4), attributes(5), largefile(5)
Manual pages for the FSType-specific modules of mkfs.
NOTES
This command might not be supported for all FSTypes.
You can use lofiadm to create a file that appears to a mkfs command as a raw device. You can then use a mkfs command to create a file sys-
tem on that device. See lofiadm(1M) for examples of creating a UFS and a PC (FAT) file system (using mkfs_ufs(1M) and mkfs_pcfs(1M)) on a
device created by lofiadm.
SunOS 5.10 17 Nov 2000 mkfs(1M)