LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-28-2008, 06:35 AM   #1
llin
LQ Newbie
 
Registered: Jun 2008
Posts: 14

Rep: Reputation: 0
LVM and No Space Left On Device


A LV (XFS) is stuck at the 1.2TB mark and won't accept new data even though there's space available.

df -h (working LVs not shown):
Code:
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda1             149G   77G   73G  52% /
/dev/mapper/fileserver-lv1
                      1.7T  1.2T  450G  73% /LV1
df -ih:
Code:
Filesystem            Inodes   IUsed   IFree IUse% Mounted on
/dev/hda1                  0       0       0    -  /
/dev/mapper/fileserver-lv1
                        1.7G     82K    1.7G    1% /LV1
pvdisplay:
Code:
  --- Physical volume ---
  PV Name               /dev/sda1
  VG Name               fileserver
  PV Size               698.64 GB / not usable 2.34 MB
  Allocatable           yes (but full)
  PE Size (KByte)       4096
  Total PE              178850
  Free PE               0
  Allocated PE          178850
  PV UUID               8aLaVo-P2lo-BbEL-k9hI-WTmw-2TeI-A1GWvh

  --- Physical volume ---
  PV Name               /dev/sdb1
  VG Name               fileserver
  PV Size               698.64 GB / not usable 2.34 MB
  Allocatable           yes (but full)
  PE Size (KByte)       4096
  Total PE              178850
  Free PE               0
  Allocated PE          178850
  PV UUID               qtueHm-czJI-elKt-QZy3-53TU-uMe1-fgVJ0g

  --- Physical volume ---
  PV Name               /dev/sdc1
  VG Name               fileserver
  PV Size               698.64 GB / not usable 2.34 MB
  Allocatable           yes
  PE Size (KByte)       4096
  Total PE              178850
  Free PE               24959
  Allocated PE          153891
  PV UUID               fxZwEA-l8YJ-S6xA-EiNu-Z2hs-vvrY-fZ5mAf
vgdisplay:
Code:
  VG Name               fileserver
  System ID
  Format                lvm2
  Metadata Areas        3
  Metadata Sequence No  17
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                5
  Open LV               5
  Max PV                0
  Cur PV                3
  Act PV                3
  VG Size               2.05 TB
  PE Size               4.00 MB
  Total PE              536550
  Alloc PE / Size       511591 / 1.95 TB
  Free  PE / Size       24959 / 97.50 GB
  VG UUID               8h13tn-3yee-KlSI-kyiL-3ms2-dsjM-uAUj2t
lvdisplay:
Code:
  --- Logical volume ---
  LV Name                /dev/fileserver/lv1
  VG Name                fileserver
  LV UUID                3uYtpi-ope5-ISt9-638A-rrA7-JId0-30o59r
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                1.62 TB
  Current LE             424551
  Segments               3
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:2
From initial research the PE size mattered in LVM1 but not LVM2.
 
Old 07-28-2008, 06:47 PM   #2
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
So maybe it is the filesystem that is to blame? Run out of inodes or something like that? Consult xfs_check.
 
Old 07-28-2008, 11:46 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,124

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Quote:
Originally Posted by llin View Post
From initial research the PE size mattered in LVM1 but not LVM2.
You think ???. If
Quote:
Total PE 178850
indicates an intrinsic limit (I don't know, I'm hypothesising) then the PE size will have a *real* big say in how much space you get to paddle around in. Especially when immediately followed by
Quote:
Free PE 0

Last edited by syg00; 07-28-2008 at 11:48 PM.
 
Old 07-29-2008, 12:16 AM   #4
llin
LQ Newbie
 
Registered: Jun 2008
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Run out of inodes or something like that?
df -i shows copious amounts of inodes.

Quote:
Originally Posted by syg00 View Post
You think ???. If
indicates an intrinsic limit (I don't know, I'm hypothesising) then the PE size will have a *real* big say in how much space you get to paddle around in.
Was referring to the pvmetadatasize option (4 MB), not the physical volumes themselves. That the first two volumes show 0 free PEs is normal as they've been filled with data (with the third volume getting close)
 
Old 07-29-2008, 01:04 AM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,124

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Ahhh sorry, my bad. I'd crawl back under my rock.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
no space left on device cjupiter2 Linux - Newbie 5 09-20-2007 07:38 PM
No space left on device even though it has free space? enine Linux - General 8 05-30-2007 04:22 PM
no space left on device, but it has enough!!! help!!! sarah21 Red Hat 3 02-03-2005 08:37 PM
No space left on device xfgao Red Hat 27 01-13-2005 04:06 PM
No space left on the device ashwinipahuja Programming 1 06-24-2004 12:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration