Etc/lvm/cache/.cache.tmp Write Error Failed
Contents |
logical volume? Next message: [CentOS] LVM lvresize/lvextend requires some space in /etc to grow a logical volume? Messages sorted by: [ date /etc/lvm/cache/.cache.tmp fopen failed no space left on device ] [ thread ] [ subject ] [ author ] On
Lvextend Write Error Failed: No Space Left On Device
Mon, Sep 19, 2011 at 10:19 PM, Keith Keller
Couldn't Create Temporary Archive Name. Volume Group Metadata Archive Failed.
2011 at 07:15:09PM -0400, Johnny Tan wrote: >> Anyway, here's the real issue with LVM, at least in CentOS-6: >> >> [root at jttest ~]# df >> Filesystem
/etc/lvm/cache/.cache.tmp: Write Error Failed: No Space Left On Device
1K-blocks Used Available Use% Mounted on >> /dev/mapper/vg_main-lv_root >> 1548144 1548144 0 100% / >> >> [root at jttest ~]# lvextend -L 2G /dev/vg_main/lv_root >> /etc/lvm/archive/.lvm_jttest.pp.local_5523_51321310: write error >> failed: No space left on fclose failed: no space left on device device >> Volume group "vg_main" metadata archive failed. >> /etc/lvm/cache/.cache.tmp: write error failed: No space left on device > > Many LVM modifications make a backup of the lvm metadata, which > typically resides in /etc/lvm. You might try the -A n switch to > disable the automatic backups (after strongly heeding the advice > in man lvm; but as you said, on a test system, it's fine to play > with). That did the trick: [root at jttest~]# lvresize -L 2G /dev/vg_main/lv_root /etc/lvm/archive/.lvm_jttest.pp.local_1416_1029753972: write error failed: No space left on device Volume group "vg_main" metadata archive failed. /etc/lvm/cache/.cache.tmp: write error failed: No space left on device [root at jttest~]# lvresize -A n -L 2G /dev/vg_main/lv_root Extending logical volume lv_root to 2.00 GiB WARNING: This metadata update is NOT backed up Logical volume lv_root successfully resized /etc/lvm/cache/.cache.tmp: write error failed: No space left on device (And the subsequent resize worked too.) Thank you for pointing out the -A flag (missed the fine print of common options being in man lvm)
von GoogleAnmeldenAusgeblendete FelderNach Gruppen oder Nachrichten suchen
> On Mon, Sep 19, 2011 at 07:15:09PM -0400, Johnny Tan wrote: >> Anyway, here's the real issue with LVM, at least in CentOS-6: >> >> [root@jttest ~]# df >> Filesystem http://osdir.com/ml/centos/2011-09/msg00920.html 1K-blocks Used Available Use% Mounted on >> /dev/mapper/vg_main-lv_root https://bugzilla.redhat.com/show_bug.cgi?id=705481 >> 1548144 1548144 0 100% / >> >> [root@jttest ~]# lvextend -L 2G /dev/vg_main/lv_root >> /etc/lvm/archive/.lvm_jttest.pp.local_5523_51321310: write error >> failed: No space left on device >> Volume group "vg_main" metadata archive failed. >> /etc/lvm/cache/.cache.tmp: write error no space failed: No space left on device > > Many LVM modifications make a backup of the lvm metadata, which > typically resides in /etc/lvm. You might try the -A n switch to > disable the automatic backups (after strongly heeding the advice > in man lvm; but as you said, on a test system, it's fine to play > with). That did the trick: [root@jttest~]# lvresize -L 2G /dev/vg_main/lv_root no space left /etc/lvm/archive/.lvm_jttest.pp.local_1416_1029753972: write error failed: No space left on device Volume group "vg_main" metadata archive failed. /etc/lvm/cache/.cache.tmp: write error failed: No space left on device [root@jttest~]# lvresize -A n -L 2G /dev/vg_main/lv_root Extending logical volume lv_root to 2.00 GiB WARNING: This metadata update is NOT backed up Logical volume lv_root successfully resized /etc/lvm/cache/.cache.tmp: write error failed: No space left on device (And the subsequent resize worked too.) Thank you for pointing out the -A flag (missed the fine print of common options being in man lvm). As you noted, I would probably never run into this situation in a non-testing environment and, if I did, would have much bigger problems. This probably explains why I never saw it previously. Good to know. johnny _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos Thread at a glance: Previous Message by Date: Re: [CentOS] LVM lvresize/lvextend requires some space in /etc to grow a logical volume? On Mon, Sep 19, 2011 at 07:15:09PM -0400, Johnny Tan wrote: > Anyway, here's the real issue with LVM, at least in CentOS-6: > > [root@jttest ~]# df > Filesystem 1K-blocks Used Available Use% Mounted on > /dev/mapper/vg_main-lv_root > 1548144 1548144 0 100% / > > [root@jttest ~]# lvextend -L 2G /dev/vg_main/lv_root > /
For Printing -XML -Clone This Bug -Last Comment First Last Prev Next This bug is not in your last search results. Bug705481 - RHEL6.1 RC2 iSCSI 10G - No space left on device [NEEDINFO] Summary: RHEL6.1 RC2 iSCSI 10G - No space left on device Status: CLOSED INSUFFICIENT_DATA Aliases: None Product: Red Hat Enterprise Linux 6 Classification: Red Hat Component: device-mapper-multipath (Show other bugs) Sub Component: --- Version: 6.1 Hardware: Unspecified Unspecified Priority unspecified Severity unspecified TargetMilestone: rc TargetRelease: --- Assigned To: Ben Marzinski QA Contact: Red Hat Kernel QE team Docs Contact: URL: Whiteboard: Keywords: Depends On: Blocks: Show dependency tree /graph Reported: 2011-05-17 15:00 EDT by Dinesh Surpur Modified: 2015-06-08 19:21 EDT (History) CC List: 9 users (show) agk bmarzins coughlan dwysocha heinzm mhideo prajnoha prockai zkabelac See Also: Fixed In Version: Doc Type: Bug Fix Doc Text: Story Points: --- Clone Of: Environment: Last Closed: 2015-06-08 19:21:13 EDT Type: --- Regression: --- Mount Type: --- Documentation: --- CRM: Verified Versions: Category: --- oVirt Team: --- RHEL 7.3 requirements from Atomic Host: Cloudforms Team: --- Flags: coughlan: needinfo? (dinesh.surpur) Attachments (Terms of Use) Add an attachment (proposed patch, testcase, etc.) Groups: None (edit) Description Dinesh Surpur 2011-05-17 15:00:05 EDT Description of problem: After few days of testing 10G iSCSI - write error failed: No space left on device Version-Release number of selected component (if applicable): Red Hat Enterprise Linux Server release 6.1 (Santiago) 2.6.32-131.0.13.el6.x86_64 iscsi-initiator-utils-6.2.0.872-21.el6.x86_64 device-mapper-multipath-0.4.9-41.el6.x86_64 device-mapper-multipath-libs-0.4.9-41.el6.x86_64 device-mapper-1.02.62-3.el6.x86_64 # modinfo qlge filename: /lib/modules/2.6.32-131.0.13.el6.x86_64/kernel/drivers/net/qlge/qlge.ko version: v1.00.00.27.00.00-01 license: GPL description: QLogic 10 Gigabit PCI-E Ethernet Driver How reproducible: Run few days of snaptest and check disk space # df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg_sqadl380g509-lv_root 26G 26G 0 100% / tmpfs 1.9G 100K 1.9G 1% /dev/shm /dev/cciss/c0d0p1 485M 46M 414M 11% /boot /dev/mapper/vg_sqadl380g509-lv_home 23G 172M 22G 1% /home # lvdisplay /dev/mapper/vg_sqadl380g509-lv_root --- Logical volume --- LV Name /dev/vg_sqadl380g509/lv_root VG Name vg_sqadl380g509 LV UU