Cant Mount /dev/sdb1 In Webmin


Recommended Posts

Hello Team:

I need help with a drive problem - I try to format /dev/sdb as Linux native, and it looks good, but when I mount it, it says that its either the wrong fs type, or it may already mounted - I want to use this drive as additional space for other operations - can somone help me if I get a screenshot of webmin doing this??

It shows up in webmin as /dev/sdb1 when formatted, but I can't sucessfully mount this 33 gig drive

It always says:

"Failed to save mount : Mount failed :

mount: /dev/sdb1 already mounted or /work busy"

(/work being the directory I want to mount the drive on, but it seems that its already mounted: Where??)

Any help would be appreciated!!

Brian

Edited by baker7
Link to post
Share on other sites

Shanenin:

Results of 'mount' command:

buddy@heather{pts/2}:~> mount

/dev/sda1 on / type ext3 (rw,errors=remount-ro)

tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)

proc on /proc type proc (rw,noexec,nosuid,nodev)

sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)

procbususb on /proc/bus/usb type usbfs (rw)

udev on /dev type tmpfs (rw,mode=0755)

tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)

devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)

nfsd on /proc/fs/nfsd type nfsd (rw)

/dev/sdc1 on /media/My Book type vfat (rw,nosuid,nodev,uhelper=hal,shortname=lower,uid=1000)

/dev/hda on /media/cdrom0 type iso9660 (ro,noexec,nosuid,nodev,user=buddy)

buddy@heather{pts/2}:~>

However, there is a /dev/sdb/ in webmin that I cannot mount, and if its there already mounted, I am not sure where it is - that is what is confusing the heck outta me

Brian

Link to post
Share on other sites

I also can get this when mount fails:

Error

--------------------------------------------------------------------------------

Failed to save mount : Mount failed :

mount: wrong fs type, bad option, bad superblock on /dev/sdb1,

missing codepage or helper program, or other error

In some cases useful info is found in syslog - try

dmesg | tail or so

soes anyone have any idea why I get this??

Brian

Link to post
Share on other sites

jcl:

this is what I got:

Calling ioctl() to re-read partition table.
Syncing disks.
heather:/etc/apache2/sites-available# mkfs -t ext2 /dev/sdb1
mke2fs 1.41.3 (12-Oct-2008)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
2223872 inodes, 8885945 blocks
444297 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=0
272 block groups
32768 blocks per group, 32768 fragments per group
8176 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624

Writing inode tables: 151/272

(number keeps rising and then I got:)

Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 30 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
heather:/etc/apache2/sites-available#

Results of fsck:

heather:/etc/apache2/sites-available# fsck -f -y /dev/sdb1
fsck 1.41.3 (12-Oct-2008)
e2fsck 1.41.3 (12-Oct-2008)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/sdb1: 11/2223872 files (0.0% non-contiguous), 151842/8885945 blocks
heather:/etc/apache2/sites-available#

Mount coming up using webmin

Brian

Brian

Edited by baker7
Link to post
Share on other sites

Results of mount:

heather:~# df

Filesystem 1K-blocks Used Available Use% Mounted on

/dev/sda1 16713780 4400816 11463932 28% /

tmpfs 518064 0 518064 0% /lib/init/rw

udev 10240 104 10136 2% /dev

tmpfs 518064 0 518064 0% /dev/shm

/dev/sdc1 312484288 623936 311860352 1% /media/My Book

/dev/hda 662278 662278 0 100% /media/cdrom0

/dev/sdb1 34985444 49032 33159224 1% /users

heather:~#

/dev/sdb1 is mounted on /users - I remember you said something about having the wrong fstype, so I used online instructions to make this work and chose to mkfs -t ext2 /dev/sdb1 - and after the fsck, it works well ;)

Thank god that we can manually do this from the command line - sometimes its easier to do it this way, but webmin is a lifesaver :)

Thanks for the second look and the assist!!!

Brian

Edited by baker7
Link to post
Share on other sites
  • 6 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...