LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 04-11-2005, 12:08 PM   #1
ciberrust
Member
 
Registered: Dec 2003
Location: AUS
Distribution: CentOs, OpenSuse, Ubuntu, Leopard :D
Posts: 97

Rep: Reputation: 15
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
 
Old 04-11-2005, 12:25 PM   #2
marghorp
Senior Member
 
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
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.
 
Old 04-11-2005, 12:28 PM   #3
ciberrust
Member
 
Registered: Dec 2003
Location: AUS
Distribution: CentOs, OpenSuse, Ubuntu, Leopard :D
Posts: 97

Original Poster
Rep: Reputation: 15
Unhappy

[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 /]#
 
Old 04-11-2005, 12:32 PM   #4
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 58
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

Last edited by nadroj; 04-11-2005 at 12:34 PM.
 
Old 04-11-2005, 12:37 PM   #5
ciberrust
Member
 
Registered: Dec 2003
Location: AUS
Distribution: CentOs, OpenSuse, Ubuntu, Leopard :D
Posts: 97

Original Poster
Rep: Reputation: 15
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 /]#

Last edited by ciberrust; 04-11-2005 at 12:38 PM.
 
Old 04-11-2005, 12:41 PM   #6
ciberrust
Member
 
Registered: Dec 2003
Location: AUS
Distribution: CentOs, OpenSuse, Ubuntu, Leopard :D
Posts: 97

Original Poster
Rep: Reputation: 15
/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
 
Old 04-11-2005, 12:42 PM   #7
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 58
try 'umount /mnt/files'
if error, then delete folder 'files', make it again and try mounting all over
 
Old 04-11-2005, 12:47 PM   #8
ciberrust
Member
 
Registered: Dec 2003
Location: AUS
Distribution: CentOs, OpenSuse, Ubuntu, Leopard :D
Posts: 97

Original Poster
Rep: Reputation: 15
Unhappy

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?
 
Old 04-11-2005, 12:51 PM   #9
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 58
did you remove the folder first?
Code:
rmdir /mnt/files
 
Old 04-11-2005, 12:52 PM   #10
ciberrust
Member
 
Registered: Dec 2003
Location: AUS
Distribution: CentOs, OpenSuse, Ubuntu, Leopard :D
Posts: 97

Original Poster
Rep: Reputation: 15
yes

it matters if a rebbot?

Last edited by ciberrust; 04-11-2005 at 12:55 PM.
 
Old 04-11-2005, 01:01 PM   #11
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 58
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
 
Old 04-11-2005, 01:09 PM   #12
ciberrust
Member
 
Registered: Dec 2003
Location: AUS
Distribution: CentOs, OpenSuse, Ubuntu, Leopard :D
Posts: 97

Original Poster
Rep: Reputation: 15
thanx a lot my friend
god blessed you
 
Old 04-11-2005, 01:10 PM   #13
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 58
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

Last edited by nadroj; 04-11-2005 at 01:13 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why can't I mount my Windows hard drive from Linux? axess_denied Linux - Hardware 23 10-23-2006 11:53 PM
how to mount hard drive ricemark20 Fedora - Installation 4 08-31-2005 09:20 AM
how do you mount a hard drive? blackdragon Linux - Newbie 2 07-22-2005 10:28 AM
Mount Windows Hard drive in Linux burtongeek Linux - Newbie 26 03-28-2005 08:28 AM
Mount a second Hard drive darazman Linux - Hardware 4 03-17-2004 06:50 AM


All times are GMT -5. The time now is 11:38 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration