Sponsored Content
Full Discussion: Unable to mount disk
Operating Systems Linux Ubuntu Unable to mount disk Post 302574379 by robo on Thursday 17th of November 2011 07:35:32 AM
Old 11-17-2011
before we mount any drive we must specify a filesystem to it
following code may help you cheers

Code:
[root@redhat-testpc ~]# mkfs --help
mkfs.ext2: invalid option -- -
Usage: mkfs.ext2 [-c|-t|-l filename] [-b block-size] [-f fragment-size]
        [-i bytes-per-inode] [-j] [-J journal-options] [-N number-of-inodes]
        [-m reserved-blocks-percentage] [-o creator-os] [-g blocks-per-group]
        [-L volume-label] [-M last-mounted-directory] [-O feature[,...]]
        [-r fs-revision] [-R options] [-qvSV] device [blocks-count]

 

9 More Discussions You Might Find Interesting

1. AIX

AIX 4.3 - unable to mount one of our VG's

AFter a hardware issue - scsi controller replaced and hadware is now functioning again . Able to mount all VG except one. Need AIX 4.3 experience to assist... Thanks (0 Replies)
Discussion started by: pmcopoc
0 Replies

2. Solaris

/usr unable to mount

Hi All, I need help on this issue and it is a production server. /usr is unable to mount and make system can't even type any commands. Only this show and no changes makes to the system. ERROR: svc:/system/filesystem/root:default failed to mount /usr (see 'svcs -x' for details) ... (3 Replies)
Discussion started by: mailbox80
3 Replies

3. Solaris

Unable to mount Metadevice

Hi, I am running Solaris 8 on a V880 which has recently crashed. It has got a fibre connection to a StorageTrek array containing my database info. Since the crash I have been unable to mount the 2 metadevices which correspond to /spool & /apps - these FS's contain my db info and theredore I... (20 Replies)
Discussion started by: Duffs
20 Replies

4. Fedora

unable to mount NTFS

Hi, I'm new for unix. I tried to mount windows NTFS partition in Fedora unix, but it is saying ntfs not found. The command i used is mount /dev/sdb1 -t ntfs /mnt/drive1 and how to find the available filesystem type?. (1 Reply)
Discussion started by: gwgreen1
1 Replies

5. Shell Programming and Scripting

if (disk is mounted) unmount if (disk is unmounted) mount

Hey there, sorry if this is a bit too much of a noob question, trying to get to grips with a simple bash script - but i have done ZERO bash scripting. basically having worked out how to mount and unmount disks using: disktool -m *device* & disktool -e *device* - and looking at the result of... (2 Replies)
Discussion started by: hollister
2 Replies

6. UNIX for Dummies Questions & Answers

Unable to mount CDROM

Hi I have created a RHEL6 machine that is hosted on VMWare player that in turn runs off my Windows 7 PC. When I try and mount the CDROM on the RHEL6 box I get the following output: $ mount /dev/cdrom/media mount: can't find /dev/cdrom/media in /etc/fstab or /etc/mtab $ Here is the... (3 Replies)
Discussion started by: accipiter1
3 Replies

7. UNIX for Dummies Questions & Answers

Unable to mount CD rom

hi Am trying to mount a cdrom which has a blank cd into it, using the command: mount -v cdrfs -o ro /dev/cd0 /mnt Am getting this error: # df -Ig Filesystem GB blocks Used Free %Used Mounted on /dev/hd4 0.50 0.19 0.31 38% / /dev/hd2 ... (1 Reply)
Discussion started by: kamaldev
1 Replies

8. Red Hat

Unable to mount.

Hi, I am unable to mount the AIX share on Red Hat Linux 5.5 getting below error on linux server while mounting. reason given by server: unknown nfs status return value: -1 I have checked on AIX side. lssrc -g nfs showing below output. bash-3.00# lssrc -g nfs Subsystem ... (2 Replies)
Discussion started by: manoj.solaris
2 Replies

9. UNIX for Dummies Questions & Answers

Unable to mount NFS

Hello, While mounting NFS below error is coming: # mount -t nfs 10.65.150.69:/lvsnap /lvsnap mount: mount to NFS server '10.65.150.69' failed: RPC Error: Program not registered. Please advise. Best regards, Vishal (2 Replies)
Discussion started by: admin_db
2 Replies
All times are GMT -4. The time now is 04:47 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy