Trying to mount a second hard disk
Using Fedora Core 3. I'm trying to mount my second hard disk (drive2). This is what I get when I run "/sbin/fdisk -l" :
Disk /dev/hda: 80.0 GB, 80054059008 bytes 255 heads, 63 sectors/track, 9732 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hda1 1 4 32098+ de Dell Utility /dev/hda2 * 5 5021 40299052+ 7 HPFS/NTFS /dev/hda3 5022 5034 104422+ 83 Linux /dev/hda4 5035 9732 37736685 5 Extended /dev/hda5 5035 9732 37736653+ 8e Linux LVM Disk /dev/hdb: 20.4 GB, 20490559488 bytes 255 heads, 63 sectors/track, 2491 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hdb1 * 1 2491 20008926 8e Linux LVM After I create a mount point (/home/carl/drive2) I run "mount /dev/hdb1 /home/carl/drive2" and get: mount: /dev/hdb1 already mounted or /home/carl/drive2 busy What am I doing wrong? |
"mount: /dev/hdb1 already mounted or /home/carl/drive2 busy"
You should check /etc/fstab to see if /dev/hdb1 is already mounted there. Another thing to do is to check what is alrady mounted with the mount command before you try to mount /dev/hdb1. The simple command: mount will show you all of the currently mounted file systems. ------------------------------- Steve Stites |
you need to edit your fstab file with the info on the new drive.
|
I meant to say that this is what I get when I run "mount":
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw) none on /proc type proc (rw) none on /sys type sysfs (rw) none on /dev/pts type devpts (rw,gid=5,mode=620) usbfs on /proc/bus/usb type usbfs (rw) /dev/hda3 on /boot type ext3 (rw) none on /dev/shm type tmpfs (rw) /dev/hda2 on /home/carl/windows type ntfs (ro,umask=0222) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw) |
type this and post the response:
cat /etc/fstab |
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2 none /dev/pts devpts gid=5,mode=620 0 0 none /dev/shm tmpfs defaults 0 0 none /proc proc defaults 0 0 none /sys sysfs defaults 0 0 /dev/VolGroup00/LogVol01 swap swap defaults 0 0 /dev/hda2 /home/carl/windows ntfs ro,umask=0222 0 0 /dev/hdd /media/cdrecorder auto pamconsole,fscontext=system_u:object_r:removable_t,ro,exec,noauto,managed 0 0 /dev/hdc /media/cdrom auto pamconsole,fscontext=system_u:object_r:removable_t,ro,exec,noauto,managed 0 0 /dev/fd0 /media/floppy auto pamconsole,fscontext=system_u:object_r:removable_t,exec,noauto,managed 0 0 |
ok you need to add hdb to your fstab
something like this: /dev/hdb1 /home/carl/drive2 linux defaults 1 2 linux = whatever filesystem you created for hdb1 |
Did as you suggested, using "ext3" in place of "linux". Rebooted and an error occurred:
/dev/hdb1: Unexpexcted inconsistancy; run fsck manually I didn't run fsck. I edited the line out using vi and then rebooted to get back to where I started from. |
run fsck /etc/hdb1
tell me what it says |
All times are GMT -5. The time now is 09:06 PM. |