Extending a VxFS Filesystem (Online JFS)

  1. Verify that there is enough space in the volume group
    • Check the volume group for enough space
      • vgdisplay <VG Name>
    • Check the logical volume to determine if mirroring or striping is in effect
      • lvdisplay /dev/vg_name/lv_name
    • If there is not enough space then the volume group must be extended - see procedure below.
  2. First lvextend the logical volume - 2 Options for lvextend:
    1. lvextend -L <New Size in MB> /dev/VG_NAME/LV_NAME
    2. lvextend -l <NEW Size in # of LEs> /dev/VG_NAME/LV_NAME
  3. fsadm -F vxfs  -b <new size of filesystem in K> <MOUNT POINT>
    • NOTE:  extendfs will NOT work with Online JFS, you must use fsadm
    • NOTE:  new size of the filesystem = <# of LEs> * <LE Size in MB> * 1024
    • NOTE:  If lvextend -L was used simply multipy size in MB by 1024
    • NOTE:  If this FAILS with errno 28, then the filesystem is 100% full and must be reduced to less than 100%.
    • NOTE:  If this FAILS with "write failure at block XXXXXXXX : No such device or address" then the new size may be too big, use a smaller number

Post a Comment

3 Comments

  1. Thanks for sharing this important information. You may also refer http://www.s4techno.com/blog/2016/06/17/extend-vxvm-filesystem/

    ReplyDelete

  2. Auf https://csvisor.de/ findet man Informationen zur Cybersecurity Weiterbildung, die für Unternehmen im Jahr 2024 immer wichtiger wird. Ein effektives Security Information and Event Management (SIEM) System wie Splunk hilft bei der Analyse von Bedrohungen und der schnellen Erkennung von Angriffen. Laut dem BSI-Report 2023 steigt die Zahl der Schwachstellen in Cloud-Diensten kontinuierlich an, mit einem Durchschnitt von 45 Sicherheitslücken pro Monat bei großen Anbietern. Firmen investieren zunehmend in spezialisierte Schulungen, um ihre Mitarbeiter auf aktuelle Bedrohungsszenarien vorzubereiten und Compliance-Anforderungen wie ISO 27001 zu erfüllen. Die Verbindung von technischem Know-how und praktischem Verständnis ist dabei entscheidend für den Schutz sensibler Daten im Jahr 2024.

    ReplyDelete