Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

RHEL 5 issue 2

Status
Not open for further replies.

samurai123

Technical User
Sep 26, 2005
93
US
Hello

I installed RHEL 5.0 evaluation on an IBM x3850 server with a SAS drive. The initial installation went fine. But I can't creat an addition filesystems or see the VG configured in the initial configuration etc. Not sure why is that? Is that because it's evalution version?

When I try to create a FS it says the device is in use
doesn't show anything when I run vgdisplay

Does anyone know whats going on here?


Thanks in advance
 
Hmm...well, not sure what the problem is, but did you do the steps below:

(I'm assuming you don't already have a VG created)
1. fdisk (option n) <-- Create a partition (repeat as needed - all should be type 8e - Linux LVM)
2. Choose option w to write the partition table
3. partprobe /dev/<SAS drive> <-- reload the partition table
4. pvcreate /dev/<partition1> /dev/<partition2> ...
5. vgcreate <name of volume group> /dev/<partition1> /dev/<partition2> ...
6. lvcreate -L <Size in GB>G <name of volume group> -n <name of new volume>
7. mkfs -t ext3 /dev/<name of volume group>/<name of new volume>
8. mount /dev/<name of volume group>/<name of new volume> /<path to directory you want to mount>

As for RHEL 5 being an evaluation version, that shouldn't make a difference. I had an evaluation version, and it was fully funtional. The only difference is that you don't have full tech support after the evaluation period ends
 
Yes, I tried that. It doesn't work at the pvcreate stage saying "the device is in use, can't create filesystem here!"

Moreover it doesn't show vgdisplay of the existing VG which I had created during initial installation!

Actuallay, earlier I tried to active the the free evaluation and got an another Installation number which I used for installation. Not sure if this is causing any problem ?

Maybe I can try without with using this installation number ?


I am using x3850 box with a 73GB SAS drive.
 
Hmm...so it let you create the partitions using fdisk, and immediately after getting out of fdisk, it said they were in use?

As for the other volume group, did it ever work? Try running the commands 'vgs' <-- should show you information about the volume group and 'vgmknodes' <-- this will recreate volume group directory and logical volume special files

The installation number is not really needed. If you were going to activate a subscription with Red Hat (for a paid version), you'd need to do that, but as this is an evaluation version, it's not necessary. No, that wouldn't be causing your problem.
 
I guess I know where is the problem.

Actually I was trying to run those vg commands and trying to create filesystem from su root session and not from console. Maybe SELinux doesn't allow that from pts devices?


If I run those commands from the virtual consoles it works.

Does anyone know how one can have su root session from pts to able to run those commands?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top