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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need to create new partition for Oracle Install 1

Status
Not open for further replies.

071

MIS
Aug 9, 2000
153
Hello,
I have recently prepared a Redhat image on VMware for an Oracle installation. All is configured and ready to go but.....I have run out of disk space !!!
I have added in a new virtual disk through VMware but am unsure how to get Redhat to pick it up and add it on to my existing layout.

Filesystem Size Used Avail Used% Mounted on
/dev/sda2 8.4G 4.5G 3.6G 56% /
/dev/sda1 99M 9.1M 85M 10% /boot
none 196M 0 196M 0% /dev/shm


Any suggestions welcomed !!




Cheers,
71
 
Could add an entry into my fstab but dont know what exactly I should be adding..


Cheers,
71
 
You may want to look into lvm which takes all your smaller drives and makes them act as one large drive. I don't know how vmware will work with this. Another option is to use fdisk to create a linux partition on it then mount it using fstab. If you don't know what linux is calling the drive, you can type "dmesg" at the command shell and it will display all the system info it stored at bootup. The primary drive will be something like hda and partitions on it will be hda1, hda2, etc. Your new drive will be hd? depending on the configuration of the drive or whether you have a cd-rom installed. It will show the manufacturer and model so it shouldn't be hard to find.
 
VMWare ESX? GSX? Workstation?

Your new drive will be hd?
No, VMWare will show the virtual disk as a SCSI disk, hence, the next one: /dev/sdb

It doesn't matter if you have a real disk drive or a virtual one, the new disk drive would be seen as /dev/sdb (obviously depending on the scsi:lun you gave when you created the virtual disk, but I'm pretty sure you give the next available address), so to use it just:

fdisk /dev/sdb -- and partition it as you need
mkfs /dev/sdb1
tune2fs -j /dev/sdb1
mount /dev/sdb1 /mount_point

update your fstab

Cheers.

Chacal, Inc.
 
WOW ! Thanks for the quick response ! Created my new filesystem successfully using the above commands. ( Opted for new partition off the menu and then selected the default start and end points, then wrote it to Disk, did a tune2fs, created a new mount point called manhatten and mounted it on the command line)

One more thing, could you please tell me what the correct entry should be in the fstab ?






Cheers,
71
 
hmmmm..

[tt]
/dev/sdb1 /manhatten ext3 defaults 0 0
[/tt]

Chacal, Inc.
 
Excellent, many thanks Chacalinc. Have been really busy over the past week so not much time to research !

Roll on the weekend !!!



Cheers,
71
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top