Home Posts tagged "resize"
formats

How to resize LVM logical volumes with ext4 as filesystem

Published on February 3, 2011 by WaYdotNET in Script, tips

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19   # Unmount the filesystem and check its’ LV umount /mnt/foo e2fsck -f /dev/mapper/vg0-foo   # Shrink ext4 and then the LV to the desired size resize2fs -p /dev/mapper/vg0-foo 40G lvreduce -L 40G /dev/mapper/vg0-foo   #

(More)…

 
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
formats

Photo Resize from console :D

Published on February 2, 2010 by WaYdotNET in Script

Qui raccolgo un po di script che mi sono fatto x la vita di tutti i giorni Photo resize (photo_resize) piccolo script in ruby che serve per fare delle thumbnails di foto, passando almeno la cartella contenente le foto (strano ) Require: ruby (test with: ruby 1.9.1p378 (2010-01-10 revision 26273) [x86_64-linux] ||ruby 1.8.7 (2009-12-24 patchlevel

(More)…

 
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn