LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   how to mount aonther linux hard drive (https://www.linuxquestions.org/questions/linux-hardware-18/how-to-mount-aonther-linux-hard-drive-312063/)

ciberrust 04-11-2005 12:08 PM

how to mount aonther linux hard drive
 
hello i'm triyng to mount a hard drive wich has other fedora install but i can get this to work here is some output


[root@linux /]# fdisk -l

Disk /dev/hda: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 9834 78887182+ 83 Linux
/dev/hda3 9835 9964 1044225 82 Linux swap

Disk /dev/hdc: 30.0 GB, 30020272128 bytes
255 heads, 63 sectors/track, 3649 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdc1 * 1 13 104391 83 Linux
/dev/hdc2 14 3649 29206170 8e Linux LVM
[root@linux /]#mount /dev/hdc2 /mnt/files
mount: /dev/hdc2 already mounted or /mnt/files busy
[root@linux /]#

anyhelp?

i also get an error that i have to specify the file system type

marghorp 04-11-2005 12:25 PM

You mount it to an empty directory. You should make a new directory.

mkdir /mnt/my_other_linux_disk

and then mount it there with

mount -t ext2(ext3) /dev/hdc2 /mnt/my_other_linux_disk

choose between types ext2 or ext3 depending on which type the harddisk is. You can even choose auto, so it chooses the type automaticaly at the upper command.

ciberrust 04-11-2005 12:28 PM

[root@linux /]# mkdir /mnt/my_other_linux_disk
[root@linux /]# mount -t ext3 /dev/hdc2 /mnt/my_other_linux_disk
mount: /dev/hdc2 already mounted or /mnt/my_other_linux_disk busy
[root@linux /]# mount -t ext2 /dev/hdc2 /mnt/my_other_linux_disk
mount: /dev/hdc2 already mounted or /mnt/my_other_linux_disk busy
[root@linux /]# mount -t auto /dev/hdc2 /mnt/my_other_linux_disk
mount: /dev/hdc2 already mounted or /mnt/my_other_linux_disk busy
[root@linux /]#

nadroj 04-11-2005 12:32 PM

type 'mount'.. IS it already mounted?
ya, you must specify the type of the device your mounting, try something like:
Code:

mount -t ext3 -w /dev/hdc2 /mnt/files
or try unmounting it first:
Code:

umount -v /dev/hdc2

ciberrust 04-11-2005 12:37 PM

nothing
and it's not mounted anywhere else

[root@linux /]# mount
/dev/hda2 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)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/hda1 on /boot type ext3 (rw)
none on /dev/shm type tmpfs (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
[root@linux /]# mkdir /mnt/files
[root@linux /]# mount -t ext3 -w /dev/hdc2 /mnt/files
mount: /dev/hdc2 already mounted or /mnt/files busy
[root@linux /]#


[root@linux /]# umount -v /dev/hdc2
Could not find /dev/hdc2 in mtab
umount: /dev/hdc2: not mounted
[root@linux /]#

ciberrust 04-11-2005 12:41 PM

/dev/hda2 / ext3 rw 0 0
none /proc proc rw 0 0
none /sys sysfs rw 0 0
none /dev/pts devpts rw,gid=5,mode=620 0 0
usbdevfs /proc/bus/usb usbdevfs rw 0 0
/dev/hda1 /boot ext3 rw 0 0
none /dev/shm tmpfs rw 0 0
sunrpc /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0


that is my /etc/mtab
file

nadroj 04-11-2005 12:42 PM

try 'umount /mnt/files'
if error, then delete folder 'files', make it again and try mounting all over

ciberrust 04-11-2005 12:47 PM

same error


root@linux /]# umount /mnt/files
umount: /mnt/files: not mounted
[root@linux /]#
[root@linux /]#
[root@linux /]# mkdir /mnt/files
[root@linux /]# mount -t ext3 -w /dev/hdc2 /mnt/files
mount: /dev/hdc2 already mounted or /mnt/files busy

i only need to see some files on that disk
it;s a backup for some files
its there other way to see those files?

nadroj 04-11-2005 12:51 PM

did you remove the folder first?
Code:

rmdir /mnt/files

ciberrust 04-11-2005 12:52 PM

yes

it matters if a rebbot?

nadroj 04-11-2005 01:01 PM

i wouldnt think so.. but why not try it.
i think your having problems because its a 'linux LVM'.
start searching about this and how to mount/use it

ciberrust 04-11-2005 01:09 PM

thanx a lot my friend
god blessed you

nadroj 04-11-2005 01:10 PM

http://www.widagdo.com/lvm.htm
check out this page.. pretty long, however.. but i think itll get you on the right track for this. or search yahoo or google for 'how to mount linux lvm'
your welcome


All times are GMT -5. The time now is 01:50 AM.