Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
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?


  Search this Thread
Old 11-30-2007, 06:28 AM   #1
LQ Newbie
Registered: Nov 2007
Location: UK
Distribution: RHEL4 ES
Posts: 2

Rep: Reputation: 0
Question Mounting and using 2nd hard disk


I'm a bit of a newbie when it comes to Linux and hardware configs - my job as a web developer only requires basic server maintenance through webmin.

I have a Dell PE server with 2 HDD's. RHEL4 ES is installed and working on the 1st disk but I'm a bit stumped as to how to mount and use the 2nd HDD.

From reading other posts on here I realise I need to provide a bit more info about the setup...

# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/VolGroup_ID_15986/LogVol1 /                       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/VolGroup_ID_15986/LogVol2 /tmp                    ext3    defaults        1 2
/dev/VolGroup_ID_15986/LogVol5 /usr                    ext3    defaults        1 2
/dev/VolGroup_ID_15986/LogVol4 /var                    ext3    defaults        1 2
/sbin/fdisk -l
Disk /dev/sda: 250.0 GB, 250000000000 bytes
255 heads, 63 sectors/track, 30394 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1           5       40131   de  Dell Utility
/dev/sda2               6        5062    40620352+  83  Linux
/dev/sda3   *        5063        5075      104422+  83  Linux
/dev/sda4            5076       30394   203374867+   5  Extended
/dev/sda5            5076       30394   203374836   8e  Linux LVM

Disk /dev/sdb: 250.0 GB, 250000000000 bytes
255 heads, 63 sectors/track, 30394 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1       30394   244139773+   5  Extended
I would like to mount the whole of /dev/sdb1 on /var/warehouse (It's intended use is as an archive library)

All the VolGroup uglyness was added by the Dell OpenManage software I had to use to install the OS as it didn't recognise any of the HDD's when I tried to install directly from the RHEL CD's!

Any help gratefully accepted.


Old 11-30-2007, 06:41 AM   #2
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
The type of partition is "5", extended. I wonder if this ID type is being reused, because it is the partition type that MSDOS 3.3+ used.

Aside from the ID being odd, it shouldn't be an extended partition at all. It should be a primary Linux partition. If you aren't going to add other disks for archiving you could use gparted to repartition the drive and format it. "sudo /usr/sbin/gparted /dev/sdb". Or you can use "sudo /sbin/fdisk /dev/sdb" to delete the present partitioning and repartition it. Then use a program like "sudo /sbin/mkfs.ext3 /dev/sdb1" to create a filesystem on it.

Fedora Core & Red Hat use LVM volumes by default. There is a gui program to manage LVM volumes: system-config-lvm.

Last edited by jschiwal; 11-30-2007 at 06:47 AM.


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
parted cannot see partitions on 2nd hard disk Gzou Linux - Hardware 4 01-23-2007 03:50 PM
Booting from 2nd IDE Hard Disk RamanaRao Linux - General 1 10-28-2006 02:54 AM
mounting 2nd (sata) hard drive on 10.1 rob0t Slackware 6 08-15-2005 05:05 PM
Problem mounting ext3 filesystem on 2nd Hard Disk judgedeath2 Linux - Hardware 2 08-16-2004 10:43 AM
Mounting 2nd Hard Drive kurtsimons Linux - Hardware 3 08-30-2003 10:55 PM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:51 AM.

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
Open Source Consulting | Domain Registration