BestTechie Forums: Cant Mount /dev/sdb1 In Webmin - BestTechie Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Cant Mount /dev/sdb1 In Webmin Need help! (wrong filesystem type or already mounted?)


#1 User is offline   baker7 

  • USCG: Semper Paratus: "Always Ready"
  • Group: Contributor
  • Posts: 779
  • Joined: 16-August 05
  • Location:Barre, Vermont USA
  • Operating System:Windows 7 Pro, Windows 2000 Pro, Windows MCE/XP Pro, Windows XP Home, Windows 2003 Server SBS, Debian Linux, RedHat Linux, ELive Linux

Posted 19 July 2009 - 04:03 PM

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

This post has been edited by baker7: 19 July 2009 - 05:36 PM


#2 User is offline   shanenin 

  • UberTechie
  • Group: Moderator
  • Posts: 3755
  • Joined: 24-February 05
  • Location:rochester , MN USA
  • Operating System:Ubuntu 8.04

Posted 20 July 2009 - 11:24 PM

typing the command "mount" will show you what is mounted where

#3 User is offline   baker7 

  • USCG: Semper Paratus: "Always Ready"
  • Group: Contributor
  • Posts: 779
  • Joined: 16-August 05
  • Location:Barre, Vermont USA
  • Operating System:Windows 7 Pro, Windows 2000 Pro, Windows MCE/XP Pro, Windows XP Home, Windows 2003 Server SBS, Debian Linux, RedHat Linux, ELive Linux

Posted 21 July 2009 - 08:26 AM

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

#4 User is offline   baker7 

  • USCG: Semper Paratus: "Always Ready"
  • Group: Contributor
  • Posts: 779
  • Joined: 16-August 05
  • Location:Barre, Vermont USA
  • Operating System:Windows 7 Pro, Windows 2000 Pro, Windows MCE/XP Pro, Windows XP Home, Windows 2003 Server SBS, Debian Linux, RedHat Linux, ELive Linux

Posted 22 July 2009 - 09:14 PM

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

#5 User is offline   jcl 

  • UberTechie
  • Group: Linux Experts
  • Posts: 1304
  • Joined: 30-August 04
  • Location:The Internet
  • Operating System:Arch

Posted 22 July 2009 - 09:49 PM

Did you format sdb or sdb1?

#6 User is offline   baker7 

  • USCG: Semper Paratus: "Always Ready"
  • Group: Contributor
  • Posts: 779
  • Joined: 16-August 05
  • Location:Barre, Vermont USA
  • Operating System:Windows 7 Pro, Windows 2000 Pro, Windows MCE/XP Pro, Windows XP Home, Windows 2003 Server SBS, Debian Linux, RedHat Linux, ELive Linux

Posted 23 July 2009 - 08:26 AM

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

This post has been edited by baker7: 23 July 2009 - 08:32 AM


#7 User is offline   baker7 

  • USCG: Semper Paratus: "Always Ready"
  • Group: Contributor
  • Posts: 779
  • Joined: 16-August 05
  • Location:Barre, Vermont USA
  • Operating System:Windows 7 Pro, Windows 2000 Pro, Windows MCE/XP Pro, Windows XP Home, Windows 2003 Server SBS, Debian Linux, RedHat Linux, ELive Linux

Posted 23 July 2009 - 08:43 AM

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

This post has been edited by baker7: 23 July 2009 - 08:48 AM


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users