LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 11-03-2010, 01:51 AM   #1
albertwt
Member
 
Registered: Aug 2010
Posts: 50

Rep: Reputation: 1
Question Missing secondary hard drive after LVM format ?


Hi All,

I'm having mysterious problem here with my Red Hat EL 5.5 64 bit edition,

I've install it on my primary hard drive 12 GB it works fine and then
I added secondary 20 GB hard drive (sdb1) into this system and then format it as VolGroup01 see the attachment, but how come it doesn't show up ?

Code:
[administrator@websphere02 ~]$ pwd
/home/administrator

[administrator@websphere02 ~]$ uname -a
Linux websphere02.domain.com 2.6.18-186.el5 #1 SMP Wed Jan 27 18:11:22 EST 201                                           0 x86_64 x86_64 x86_64 GNU/Linux

[administrator@websphere02 ~]$ df -kh
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
                      5.9G  2.5G  3.2G  44% /
/dev/sda1              99M   17M   78M  18% /boot
tmpfs                 1.9G     0  1.9G   0% /dev/shm

[administrator@websphere02 ~]$ su
Password:

[root@websphere02 administrator]# fdisk -l
bash: fdisk: command not found
can anyone help me how to actually utilize this new capacity ?

Thanks,

Albert

Last edited by albertwt; 03-28-2011 at 06:27 AM.
 
Old 11-03-2010, 02:29 AM   #2
albertwt
Member
 
Registered: Aug 2010
Posts: 50

Original Poster
Rep: Reputation: 1
here's another update,

Quote:
[root@websphere02 administrator]# /sbin/fdisk -l

Disk /dev/sda: 12.8 GB, 12884901888 bytes
255 heads, 63 sectors/track, 1566 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 1566 12474472+ 8e Linux LVM

Disk /dev/sdb: 21.4 GB, 21474836480 bytes
64 heads, 32 sectors/track, 20480 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 1 20480 20971519+ 8e Linux LVM
[root@websphere02 administrator]# lvdisplay
bash: lvdisplay: command not found
[root@websphere02 administrator]#
but i still don't understand why i cannot get it to work and install something into it ?
 
Old 11-03-2010, 02:58 AM   #3
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
You seem to be missing several programs in /sbin/ or /sbin/ isn't in your path. Did you create a logical volume on the volume group you created? If you don't plan adding another drive in the future, do you need to use LVM?

Add /sbin/ to root's PATH variable. If it is present, you might be missing programs that are be needed to create a logical volume (such as lvcreate).
 
1 members found this post helpful.
Old 11-03-2010, 03:24 AM   #4
albertwt
Member
 
Registered: Aug 2010
Posts: 50

Original Poster
Rep: Reputation: 1
yes i add it using the GUI
 
  


Reply

Tags
lvm, rhel


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
format a hard drive (/dev/hda1) in Reiser fs format Linh Linux - General 7 06-17-2009 06:30 AM
Booting Windows on secondary hard drive with Grub on primary drive mpmackenna Linux - General 1 11-09-2008 06:16 PM
Ubuntu - Secondary Hard Drive 200mg Linux - Newbie 2 02-22-2008 08:47 AM
mounting a secondary drive (LVM) metallica1973 Linux - General 5 03-24-2007 02:15 PM
formatting a secondary hard drive Bronzzy Linux - Newbie 2 03-27-2004 11:02 AM


All times are GMT -5. The time now is 10:53 PM.

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