Feb 262015

Lets have a practical scenario. A disk box, with iSCSI LUN, which is used by a linux box.
LUN fills up, and is resized on that disk box.

On linux side, lets rescan session, to get updated target size visible:
iscsiadm -m session -R

Lets assume, the partition is plain ext4 and available as /dev/sde1

parted /dev/sde

Parted should detect disk size update and notify about it

Warning: Not all of the space available to /dev/sde appears to be used, you can fix the GPT to use all of the space
(an extra 2147483648 blocks) or continue with the current setting?
Fix/Ignore? fix

resize partition 1
resizepart 1

Then use resize2fs to resize the partition and mount it.

resize2fs /dev/sde1
resize2fs 1.42.10 (18-May-2014)
Please run 'e2fsck -f /dev/sde1' first.

Just a ‘small’ sidestep – e2fsck 8T of data.

Remount it back afterwards.

 Posted by on February 26, 2015 at 00:09
Apr 082012

I was pleasantly surprised when I did find out, that had added a VPN client in their DSM 4 release. This VPN client supports either PPTP or openvpn. Openvpn support is what I am interested in. Unfortunately openvpn wizard in DSM assumes that username authentication is used.… Read the rest

Nov 302011

Sometimes for whatever reason You need to upgrade an old or really old Gentoo installation. Reinstall just is not an option. Upgrading old Gentoo installations is not really a plain sailing. All sorts of circular dependencies come up. For example portage is, bash is 3.2_p39 and python is 2.5.4.… Read the rest

Sep 062011

Saabiklubi kalendri 2011 Septembrikuu foto sai tehtud 2010 augustis Pärnus. Täpsemalt vana Pärnu silla kõrval sadamakail.  Sõitsin spetsiaalselt siis veel Ivometsale kuuluvat Sonett III-e pildistama. See oli esimene ja siiani ka ainus kord kui ma kellegi autot spetsiaalselt pildistamas olen käinud.… Read the rest

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.