Sponsored Content
Top Forums UNIX for Advanced & Expert Users Unable to format new mountpoint Post 302664415 by vickyid04 on Friday 29th of June 2012 11:57:55 AM
Old 06-29-2012
Unable to format new mountpoint

Can some one help me i try to mkfs new mountpoint from storageIBM but give some problem
Code:
[root@ ~]# mkfs -t ext3 /dev/sdd1
mke2fs 1.39 (29-May-2006)
/dev/sdd1 is apparently in use by the system; will not make a filesystem here!

my os is redhat 5.3

using fdisk
Code:
[root@ ~]# fdisk -l

Disk /dev/sda: 298.9 GB, 298999349248 bytes
255 heads, 63 sectors/track, 36351 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        2550    20482843+  83  Linux
/dev/sda2            2551        4590    16386300   82  Linux swap / Solaris
/dev/sda3            4591        5865    10241437+  83  Linux
/dev/sda4            5866       36351   244878795    5  Extended
/dev/sda5            5866        7140    10241406   83  Linux
/dev/sda6            7141        8415    10241406   83  Linux
/dev/sda7            8416        9690    10241406   83  Linux
/dev/sda8            9691       36351   214154451   83  Linux

Disk /dev/sdd: 536.8 GB, 536870912000 bytes
255 heads, 63 sectors/track, 65270 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1               1       65270   524281243+  83  Linux

Disk /dev/sde: 536.8 GB, 536870912000 bytes
255 heads, 63 sectors/track, 65270 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sde1               1       65270   524281243+  83  Linux

Disk /dev/sdh: 536.8 GB, 536870912000 bytes
255 heads, 63 sectors/track, 65270 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdh1               1       65270   524281243+  83  Linux

Disk /dev/sdi: 536.8 GB, 536870912000 bytes
255 heads, 63 sectors/track, 65270 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdi1               1       65270   524281243+  83  Linux

Disk /dev/dm-0: 536.8 GB, 536870912000 bytes
255 heads, 63 sectors/track, 65270 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

     Device Boot      Start         End      Blocks   Id  System
/dev/dm-0p1               1       65270   524281243+  83  Linux

Disk /dev/dm-1: 536.8 GB, 536863993344 bytes
255 heads, 63 sectors/track, 65269 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/dm-1 doesn't contain a valid partition table
[root@ ~]#


Last edited by Scrutinizer; 06-29-2012 at 02:53 PM.. Reason: code tags
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

unable to sent mail in html format by mailx command.

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

unable to format usb stick ?strange things happening as well!!!

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

Get mountpoint from filename

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

unable to chage the date format

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

Filesystem and partition, mountpoint

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

Unable to convert passwd lastupdate value into scalar local format

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

Space not getting released on the mountpoint

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

Mountpoint monitoring script

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

Creating mountpoint in Linux from rawdevices without lv's

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

Unable to format suse Linux

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
HFS.UTIL(8)						    BSD System Manager's Manual 					       HFS.UTIL(8)

NAME
hfs.util -- HFS/HFS+ file system utility SYNOPSIS
hfs.util -m device mountpoint [mountflag1] [mountflag2] [mountflag3] [mountflag4] hfs.util -p device [mountflag1] [mountflag2] [mountflag3] [mountflag4] hfs.util -J [size] mountpoint hfs.util -U mountpoint hfs.util -N device hfs.util -I mountpoint hfs.util [-aksu] device DESCRIPTION
The hfs.util command supports the mounting, probing, and unmounting of HFS file systems. Options: -a Adopt permissions for the HFS file system at device -I Print out status information about the journal on the HFS file system at mountpoint -J [size] Enable journaling on the HFS file system mounted on mountpoint. An optional size may be specified (e.g. 32M for a 32 megabyte journal). -k Get the UUID key for the HFS file system at device. -m Mount the HFS file system located on device onto mountpoint with the flags mountflag1 mountflag2 mountflag3 mountflag4 -M Force mount the HFS file system located on device onto mountpoint with the flags mountflag1 mountflag2 mountflag3 mountflag4. This is a deprecated option. -N Disable journaling on a HFS+ file system located at device -p Probe the device for an HFS file system using the flags mountflag1 mountflag2 mountflag3 mountflag4 -s Set the UUID key (generates a new UUID value) for the HFS file system at device -u Unmount the HFS file system located at device -U Disable journaling on the HFS+ file system mounted on mountpoint The mountflags referenced above are either: o removable or fixed o readonly or writeable o suid or nosuid o dev or nodev Note that for the device references above, you must only supply the last component of the path to the device in question, such as disk0s2 rather than /dev/disk0s2. SEE ALSO
diskarbitrationd(8) HISTORY
Derived from the Openstep Workspace Manager file system utility programs. Darwin July 16, 2003 Darwin
All times are GMT -4. The time now is 11:46 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy