jump to navigation

New HDD, enlarging Red Hat/Centos ext3/lvm partition 16 December 2007

Posted by Maulvi Bakar in : Home,Linux,System , 3 comments

Hmmm,

Suddenly, I’ve run out of space on one of my servers at home. Solution, add a new harddisk, extend existing partition onto the new harddisk.. Simple right? Right…

Firstly, fix the new harddisk onto the machine. Fdisk it like thus –

# fdisk /dev/sdb

Create a new ‘sdb1’ partition using type 8e, which is Linux LVM.

Next, we need to create a Physical Volume within the newly created sdb1 partition.

# pvcreate /dev/sdb1

After that we will extend the existing volume ‘VolGroup00’ onto the newly created physical volume.

# vgextend VolGroup00 /dev/sdb1

Once done, the next step is to extend the Logical Volume within the volume group to use the free space newly made available when you extend the volume group previously.

# lvextend -L 40G /dev/VolGroup00/LogVol00

And finally, we’ll enlarge the ext3 partition to make use of the newly available free space in the logical volume.

# resize2fs /dev/VolGroup00/LogVol00

Enjoy!

Typo error since fixed as advised! Thank you!

Gnome-RDP, Terminal Server Client, vncviewer – Fullscreen woes! 12 December 2007

Posted by Maulvi Bakar in : Linux,System , 2 comments

Well, I am using Ubuntu 7.10 Gutsy Gibbon.  Feeling gutsy right?  😉

Anyway, it seems that whenever I connect to a remote machine via VNC protocol, doesn’t matter what my client of choice, if I am using ‘Fullscreen’, I’ll be ‘Full Screaming’.  Seems that the CTRL-ALT-ENTER does not work for me to switch windows.  I’ll be stuck to the remote machine screen.

Fortunately, there’s hope yet.  Press ‘F8’ button and voila! There’s a host of options in the menu revealed.

Enjoy!

unknown nfs status return value: -1 11 December 2007

Posted by Maulvi Bakar in : Linux,System,Unix,Work , 1 comment so far

I’m trying to mount an NFS export from an AIX machine to a Linux client.

Had encountered the above problem.  Apparently the NFS exports on AIX requires the client’s hostname and IP address within the /etc/hosts file.

Enjoy!

π