Your best bet is probably to use Partitioner; it appears that the fdisk
output shows the resized disk, so if you use Partitioner (from Yast) it
should let you expand the partition, and the filesystem, so use that new
space, hopefully all “online” depending on the filesystem you are using
(apparently ‘ext3’, but it may still work… not totally sure with that one).
/sbin/yast disk
In the 'System V’ew (left-hand side) of the partitioner expand ‘Hard Disk’
(space bar will expand things) and then ‘sda’ and then choose ‘sda2’. Tab
over until you get to ‘Resize’ at the bottom of the Partition view on the
right-hand side and see if you can expand to use the full size there.
If that does not work, then you will probably need to boot from external
media and do it that way, but it should be possible offline if not online.
Sine you mention you have little experience with Linux (welcome, by the
way) you may, in the future, want to choose other filesystems for things
that will hold large amounts of data, assuming you are given the choice as
you probably were not with a software appliance. Something like XFS
behaves better in many cases, both in terms of runtime performance as well
as mount/startup performance, particularly when compared with ext3 when
you have larger filesystems. 'ext3 runs a filesystem check every so-many
days or so-many mounts which can cause a simple rebobt to change from a
thirty-second operation to a much longer one unexpectedly.
A common scenario with something like an appliance is to have a lot of
data somewhere under /var for an application in the appliance’s datastore,
or perhaps under /srv for a website. In either case, what may be better
than growing your disk is instead adding a bit more space either by
growing the disk or adding a new disk, creating a new partition (perhaps
for LVM rather than the current partitions you are using) so that you can
mount these data separately to /var/whatever or /srv/whatever and keep
them separate from the rest of the system. This can also be really nice,
in particular if you use a separate virtual “disk”, when upgrading the
base appliance bits. The OS changes, but your data may not, and now your
data are all stored separately which can be nice for the virtualization
software to manage/backup/etc.
–
Good luck.
If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below.
If you want to send me a private message, please let me know in the
forum as I do not use the web interface often.