Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 08-02-2006, 12:05 AM   #1
LQ Newbie
Registered: Jul 2006
Posts: 6

Rep: Reputation: 0
Angry how to mount an LVM to existing system?


I would like to mount another harddrive do my existim system

My system is Fedora3 and attached another harddisk that have the same fedora3

here is the information of harddrive

0 19551168 hda
1 104391 hda1
2 19446682 hda2
0 390826682 hdc
1 104391 hdc1
2 38973690 hdc2 <--- i want to mount this
0 19005440 dm-0
1 393216 dm-1
0 256000 sda
1 255984 sda1

syntex i have use:
(error occure)

#mkdir /mnt/hdc
#mount /dev/hdc2 /mnt/hdc
mount: you must specify the file system type

now with file system type
#mount -t ext3 /dev/hdc2 /mnt/hdc
mount: wrong fs type, bad option, bad superblock on /dev/hdc2, or too many file systems

I don't know whay... think that my syntax were correct
if somebody know how to solve please post a reply

Thank you
Old 08-02-2006, 12:41 AM   #2
Registered: Sep 2005
Distribution: Slackware 13.37
Posts: 112

Rep: Reputation: 15
If you are sure that hdc2 is ext3 you might want to run a e2fsck on the partition before mounting it.

I had a similar problem when I moved away from FC3 to Slack with a 60G harddrive which holds my music and this fixed it for me.
Old 08-02-2006, 01:16 AM   #3
LQ Newbie
Registered: Jul 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks pddm,

currently i'm not sure it ext3 or what?
because i'm new to linux, when installing i choose the default partion offered by fedora

how to determine fs type?
Old 08-02-2006, 08:06 AM   #4
Registered: Jun 2004
Location: Venezuela
Distribution: RHEL ,Centos,Debian,Slax , Solaris
Posts: 94

Rep: Reputation: 15
Good morning

You have not created a fs in that hdc2 partition and cannot be mounted
1st you have to create the filesystem on the disk partition /dev/hdc2, for example
mke2fs -j /dev/hdc2 /mnt/hdc2 , that if that partition has not been formatted yet ,i.e it has not been assigned an fs . After that you have to put the entry in /etc/fstab in order to tell the system to mounted anytime that you start your machine , if not you will have to mount it manually

It seems to me you have not assigned a fs yet to that disk partition .
Old 08-02-2006, 05:40 PM   #5
Registered: Sep 2005
Distribution: Slackware 13.37
Posts: 112

Rep: Reputation: 15
You can do what Walman says if you do not have any information on the Partition you would like to preserve.

Creating a fs *File System( means to "Format" the partition
Old 08-03-2006, 02:06 AM   #6
LQ Newbie
Registered: Jul 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Walman and PPDM,

Thanks for your response.
Before i'am doing what was Walman suggested, i want to makesure what is the effect after that...

Creating a fs *File System( means to "Format" the partition

PPDM, the format mean that entire my disk will gone isn't it?
I don't want to lose my file ....

I'm doing this for recover my old hardisk...

Thank you
Old 08-04-2006, 05:32 PM   #7
LQ Guru
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,232

Rep: Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914
i have the same issue.

i did this for knoppix live-cd and everything is happy.

but when i try it in rh9. it fails:
[root@hyper mnt]# mount  /dev/hdb2 hdb5
mount: you must specify the filesystem type
[root@hyper mnt]# modprobe dm-mod
modprobe: Can't locate module dm-mod
[root@hyper mnt]# apt-get update
Get:1 redhat/9/i386 release [1171B]
Fetched 1171B in 0s (2780B/s)
Hit redhat/9/i386/os pkglist
Hit redhat/9/i386/os release
Hit redhat/9/i386/updates pkglist
Hit redhat/9/i386/updates release
Hit redhat/9/i386/freshrpms pkglist
Hit redhat/9/i386/freshrpms release
Reading Package Lists... Done
Building Dependency Tree... Done
[root@hyper mnt]# apt-get install lvm-common lvm2
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package lvm-common
here's what my disk looks like:
[root@hyper mnt]# fdisk /dev/hdb
The number of cylinders for this disk is set to 14593.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): p
Disk /dev/hdb: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
   Device Boot    Start       End    Blocks   Id  System
/dev/hdb1   *         1        13    104391   83  Linux
/dev/hdb2            14     14593 117113850   8e  Linux LVM


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to extend an existing partition without LVM james.reid Linux - Software 14 06-02-2006 12:48 AM
RHEL 3: Steps of expanding file system (add new SCSI disks) to existing SW RAID & LVM atman1974 Linux - General 2 01-12-2006 09:49 PM
Mounting a new ext3 on LVM system by a co-existing older system's ext2 /etc/fstab JZL240I-U Linux - Software 2 11-28-2005 07:44 AM
Manage disks on an existing system with LVM doris Linux - Hardware 1 03-02-2005 02:37 PM
existing LVM partition won't mount anymore dehuszar Linux - Software 1 09-10-2004 01:26 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:35 PM.

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