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
MKFS.MINIX(8)						Linux System Administrator's Manual					     MKFS.MINIX(8)

NAME
mkfs.minix - make a Linux MINIX filesystem SYNOPSIS
mkfs.minix [-c|-l filename] [-n namelength] [-i inodecount] [-v] device [size-in-blocks] DESCRIPTION
mkfs.minix creates a Linux MINIX file-system on a device (usually a disk partition). The device is usually of the following form: /dev/hda[1-8] (IDE disk 1) /dev/hdb[1-8] (IDE disk 2) /dev/sda[1-8] (SCSI disk 1) /dev/sdb[1-8] (SCSI disk 2) The size-in-blocks parameter is the desired size of the file system, in blocks. It is present only for backwards compatibility. If omit- ted the size will be determined automatically. Only block counts strictly greater than 10 and strictly less than 65536 are allowed. OPTIONS
-c Check the device for bad blocks before creating the file system. If any are found, the count is printed. -n namelength Specify the maximum length of filenames. Currently, the only allowable values are 14 and 30. The default is 30. Note that kernels older than 0.99p7 only accept namelength 14. -i inodecount Specify the number of inodes for the filesystem. -l filename Read the bad blocks list from filename. The file has one bad block number per line. The count of bad blocks read is printed. -v Make a Minix version 2 filesystem. EXIT CODES
The exit code returned by mkfs.minix is one of the following: 0 No errors 8 Operational error 16 Usage or syntax error SEE ALSO
mkfs(8), fsck(8), reboot(8) AVAILABILITY
The mkfs.minix command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/. Util-linux 2.6 2 July 1996 MKFS.MINIX(8)
All times are GMT -4. The time now is 02:56 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy