Tag: Filesystems

  • Expanding A Linux Filesystem

    [[[TOC]]] ———- = Expand the Partition/Logical Volume = * **LVM (Ideal Method)** {{{ vgextend LogicalVolume /dev/sdd #< Add /dev/sdd to volume group lvextend -l +100%FREE /dev/VolumeGroup/LogicalVolume #< Fill free space }}} * **Partitions (Through parted)** ** Open parted {{{ parted /dev/sdd #< Sub /dev/sdd for your HDD location }}} ** Display in sectors {{{ unit…

  • Working with files by inode

    [[[TOC]]] ——- = Find the inode number = * Use either ** `stat {file-name}` ** `ls -il {file-name}` ——- = Remove by inode with find = * `find . -inum [inode-number] -exec rm -Rfi {} \;` ** Beware, this is recursive and does not warn