Creation of an USB key with Gparted ISO (in following Gparted Live CD/USB creation procedure : https://gparted.org/livecd.php).
Boot on the Live ISO
For Physical Server, this can be done with a CD/USB key or via Remote Management Server interface (where ISO image will be mapped as a CD).
For Virtual Server, you have to boot the VM on the downloaded Gparted ISO.
When the server boot, you will get the Gparted graphical interface.
If you have a disk partition higher than 16 TB, you need to have a 64 bits file system. To convert your file system into 64 bits, you need to execute this command with th Gparted terminal : sudo resize2fs -b /dev/sdb1
Select the Nodeum cache disk (most of cases, /dev/sdb1), the 'resize/move' option should be available, click on it.
Drag the vertical bar to extend the partition size
Once done, click on Resize/Move
Once done, click on apply to save the changes to the disk
Once the resize have finished, reboot the server and enjoy your new bigger Cache.
Command line interface procedure (available starting Nodeum 1.8 and higher)
Stop all Nodeum services
$/usr/mtc/bin>./core_stop all[core_stop] core_watchdog has stopped successfully (CORE_STOP/cstop_stop_watchdog)[core_stop] Trying umount (CORE_STOP/cstop_stop_fuse).[core_stop] Trying umount force (CORE_STOP/cstop_stop_fuse).[core_stop] Trying umount lazy (CORE_STOP/cstop_stop_fuse).umount:/mnt/FUSE:notmounted[core_stop] core_fuse has stopped successfully (CORE_STOP/cstop_stop_fuse).[core_stop] data_mining has stopped successfully (CORE_STOP/cstop_stop_data_mining)[core_stop] core_manager has stopped successfully (CORE_STOP/cstop_stop_manager)[core_stop] library_manager has stopped successfully (CORE_STOP/cstop_stop_library)[core_stop] core_superv has stopped successfully (CORE_STOP/cstop_stop_superv)
2. Check which disk must be extended, the disk is the one mounted on /mnt/CACHE
$/usr/mtc/bin>umount /mnt/CACHE$/usr/mtc/bin>mount/dev/sda2 on/ type ext4 (rw)procon /proc type proc (rw)sysfson /sys type sysfs (rw)devptson /dev/pts type devpts (rw,gid=5,mode=620)tmpfson /dev/shm type tmpfs (rw)/dev/sda1 on /boot type ext4 (rw)noneon /proc/sys/fs/binfmt_misc type binfmt_misc (rw)sunrpcon /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
4. Check the disk
sanity, if there are errors that are not fixed automatically, stop here (fix them before going to the next step)
$/usr/mtc/bin>e2fsck-f-y-v -C0 /dev/sdb1e2fsck1.41.12 (17-May-2010)Lebitmapdebloc du groupe707n'est pas initialiséalors que le bitmap d'i-noeudestencoursd'utilisation.Corriger ? ouiLe bitmap de bloc du groupe 708 n'estpasinitialiséalorsque le bitmapd'i-noeud est en cours d'utilisation.Corriger ?ouiLebitmapdebloc du groupe709n'est pas initialiséalors que le bitmap d'i-noeudestencoursd'utilisation.Corriger ? ouiLe bitmap de bloc du groupe 710 n'estpasinitialiséalorsque le bitmapd'i-noeud est en cours d'utilisation.Corriger ?ouiLebitmapdebloc du groupe711n'est pas initialiséalors que le bitmap d'i-noeudestencoursd'utilisation.Corriger ? ouiPasse 1 : vérification des i-noeuds, des blocs et des taillesPasse 2 : vérification de la structure des répertoiresPasse 3 : vérification de la connectivité des répertoiresPasse 4 : vérification des compteurs de référencePasse 5 : vérification de l'information du sommairedegroupe 63944inodesused (0.11%) 98non-contiguousfiles (0.2%) 3non-contiguousdirectories (0.0%) nombred'i-noeuds avec des blocs ind/dind/tind : 0/0/0 Histogramme des profondeurs d'extents :63863/71 5658831blocksused (2.40%) 0badblocks 1large file 63702regularfiles 233directories 0characterdevicefiles 0blockdevicefiles 0fifos 0links 0symboliclinks (0 fastsymboliclinks) 0sockets
5. use parted to extend the partition size
$/usr/mtc/bin>parted /dev/sdb(parted) units(parted) print freeModèle:VMwareVirtualdisk (scsi)Disque /dev/sdb :2097152000sTailledessecteurs (logiques/physiques): 512B/512BTabledepartitions:gptNuméro Début Fin Taille Systèmedefichiers Nom Fanions 34s 2047s 2014s Espacelibre 1 2048s 1887434751s 1887432704s ext4 primary 1887434752s 2097151966s 209717215s Espacelibre(parted) rm 1(parted) mkpartprimary2048s2097151966s(parted) print freeModèle:VMwareVirtualdisk (scsi)Disque /dev/sdb :2097152000sTailledessecteurs (logiques/physiques): 512B/512BTabledepartitions:gptNuméro Début Fin Taille Systèmedefichiers Nom Fanions 34s 2047s 2014s Espacelibre 1 2048s 2097151966s 2097149919s ext4 primary(parted) quit
6. Check the disk again
$/usr/mtc/bin>e2fsck-f-y-v -C0 /dev/sdb1e2fsck1.41.12 (17-May-2010)Passe 1 : vérificationdesi-noeuds,desblocsetdestaillesPasse2 : vérificationdelastructuredesrépertoiresPasse 3 : vérificationdelaconnectivitédesrépertoiresPasse4 : vérificationdescompteursderéférencePasse5 : vérificationdel'information du sommaire de groupe 63944 inodes used (0.11%) 98 non-contiguous files (0.2%) 3 non-contiguous directories (0.0%) nombre d'i-noeudsavecdesblocsind/dind/tind :0/0/0 Histogrammedesprofondeursd'extents : 63863/71 5658831 blocks used (2.40%) 0 bad blocks 1 large file 63702 regular files 233 directories 0 character device files 0 block device files 0 fifos 0 links 0 symbolic links (0 fast symbolic links) 0 sockets-------- 63935 files
7. Extend the disk size
$/usr/mtc/bin>resize2fs-p /dev/sdb1resize2fs1.41.12 (17-May-2010)Entrainderetailler le systèmedefichierssur /dev/sdb1 à262143739 (4k) blocs.Débutdelapasse1 (max =800)Extensiondelatabled'i-noeudsXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXLe système de fichiers /dev/sdb1 a maintenant une taille de 262143739 blocs.
$/usr/mtc/bin>./core_start all[core_start] core_superv has started successfully (CORE_START/cstart_start_superv)[core_start] library_manager has started successfully (CORE_START/cstart_start_library)[core_start] core_manager has started successfully (CORE_START/cstart_start_manager)[core_start] data_mining has started successfully (CORE_START/cstart_start_data_mining[core_start] core_fuse has started successfully (CORE_START/cstart_start_fuse).[core_start] core_watchdog has started successfully (CORE_START/cstart_start_watchdog)