SUSECON
Results 1 to 3 of 3

Thread: Full LVM - hope you can help

Threaded View

  1. #1

    Full LVM - hope you can help

    Hello,

    I have big problem with lvm.
    When I do "df -ah"
    df: `/space': No such file or directory
    Filesystem Size Used Avail Use% Mounted on
    /dev/mapper/system-root_lv 22G 22G 0 100% /
    proc 0 0 0 - /proc
    sysfs 0 0 0 - /sys
    debugfs 0 0 0 - /sys/kernel/debug
    udev 64G 164K 64G 1% /dev
    tmpfs 190G 980K 190G 1% /dev/shm
    devpts 0 0 0 - /dev/pts
    /dev/sda1 152M 48M 96M 34% /boot
    /dev/sda5 148G 119G 22G 85% /hana/shared
    /dev/sda7 378G 195M 359G 1% /hana/data/HNA
    /dev/sda8 130G 188M 124G 1% /hana/log/HNA
    /dev/sda6 50G 15G 33G 31% /usr/sap
    fusectl 0 0 0 - /sys/fs/fuse/connections
    securityfs 0 0 0 - /sys/kernel/security
    none 0 0 0 - /proc/sys/fs/binfmt_misc
    none 0 0 0 - /var/lib/ntp/proc
    gvfs-fuse-daemon 0 0 0 - /root/.gvfs
    The /space partition I deleted. I do not wanted, but there where no important data. Thias partition had about 700 GB,. Where can I see the free space. I cannot open partitionen GUI on desktop because there is no space left.
    What can I do? Several things I tried went wrong. Can I only change LVM size with live cd?

    Hope this can help you?

    hna:~ # lvextend -L 25G /dev/mapper/system-root_lv
    Extending logical volume root_lv to 25.00 GiB
    Insufficient free space: 769 extents needed, but only 2 available
    hna:~ # umount /space
    error writing /etc/mtab.tmp: No space left on device
    hna:~ # lvextend -L 25G /dev/mapper/system-root_lv
    /etc/lvm/archive/.lvm_hna_9989_559749969: write error failed: No space left on device
    Volume group "system" metadata archive failed.
    hna:~ # lvscan
    ACTIVE '/dev/system/root_lv' [22.00 GiB] inherit
    ACTIVE '/dev/system/swap_lv' [128.00 GiB] inherit
    hna:~ # pvscan
    PV /dev/sda2 VG system lvm2 [150.00 GiB / 8.00 MiB free]
    Total: 1 [150.00 GiB] / in use: 1 [150.00 GiB] / in no VG: 0 [0 ]
    hna:~ # vgscan
    Reading all physical volumes. This may take a while...
    Found volume group "system" using metadata type lvm2
    hna:~ #
    hna:~ #
    hna:~ # lvreduce -L -2G /dev/system/swap_lv
    WARNING: Reducing active and open logical volume to 126.00 GiB
    THIS MAY DESTROY YOUR DATA (filesystem etc.)
    Do you really want to reduce swap_lv? [y/n]: y
    /etc/lvm/archive/.lvm_hna_10977_1150586696: write error failed: No space left on device
    Volume group "system" metadata archive failed.
    hna:~ # lvextend -L +2G /dev/system/root_lv
    /etc/lvm/archive/.lvm_hna_10979_146382498: write error failed: No space left on device
    Volume group "system" metadata archive failed.
    I treid this, but it did not help
    http://linuxblackbook.blogspot.de/20...a-archive.html

    hope youc an help. thank you
    Last edited by stefan_1304; 17-Nov-2014 at 19:04.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •