Appliance Talk:Adding disk space under VMware
From rPath Wiki
Problems: Adding Disk Space Under VMware
I have been using the Joomla Virtual Appliance for the past couple of weeks and quickly filled up the available disk space. I decided to use VMware Server 1.0.2 and fell in love with the "turn-key" virtual appliance solution.
Below are the problems I am experiencing during the space expansion process:
1. I have been able to add an additional SCSI drive without any problems.
2. Per step 5, during the fdisk process:
fdisk /dev/sda
I am receiving the following error message:
The number of cylinders for this disk is set to 1830.
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):n
Command action
e extended
p primary parition (1-4)
p ("p" entry as mentioned in the original instructions)
Partition number (1-4): 1 ("1" entry as mentioned in the original instructions)
Parition 1 is already defined. Delete it before re-adding it.
Problem: If I delete it before re-adding it per the message. The entire OS is deleted and the additional partition is never added. Can somebody provide recommendations to help me resolve this issue?
Answer
I've not looked at the Joomla appliance directly, but I'm guessing it has a SCSI disk as its primary drive, rather than an IDE drive.
What this means is that the primary drive is /dev/sda and the new drive you just added will be /dev/sdb
Change /dev/sda to /dev/sdb in all the instructions and you should be good to go. Bpja 12:07, 14 April 2007 (EDT)
