[linux-lvm] Confusing error: No space left on device
Jason Pyeron
jpyeron at pdinc.us
Tue Feb 17 19:11:07 UTC 2015
> -----Original Message-----
> From: Roger Heflin
> Sent: Tuesday, February 17, 2015 12:30
>
> Look in /etc/lvm/archive there should be large amounts of details on
> exactly how the lv was built and exactly what commands were done to it
> that could have changed things from the original config.
Nothing that I see is unexpected, this dir is good to know about. It looks like Stuart Gathman pointed me in the right direction.
>
> On Tue, Feb 17, 2015 at 11:08 AM, Jason Pyeron
> <jpyeron at pdinc.us> wrote:
> >> -----Original Message-----
> >> From: Jason Pyeron
> >> Sent: Tuesday, February 17, 2015 11:53
> >>
> >> > -----Original Message-----
> >> > From: Jason Pyeron
> >> > Sent: Tuesday, February 17, 2015 11:21
> >> >
> >> > This is likely a problem between keyboard and chair, but it
> >> > has got me confused all the same.
> >> >
> >> > I was having issues with rsync, so I switched to dd and the
> >> > same problem persists.
> >> >
> >> > Any suggestions?
> >> >
> >> > History says "lvcreate --size 8589934592b --name
> >> > ciphershed-dmz-http vg_five66"
> >> >
> >> >
> >> > root at five-66 ~
> >> > # dd of=/dev/vg_five66/ciphershed-dmz-http bs=512 if=/dev/zero
> >> > dd: writing `/dev/vg_five66/ciphershed-dmz-http': No space
> >> > left on device
> >> > 8580489+0 records in
> >> > 8580488+0 records out
> >> > 4393209856 bytes (4.4 GB) copied, 11.1884 s, 393 MB/s
> >> >
> >> > root at five-66 ~
> >> > # lvdisplay /dev/vg_five66/ciphershed-dmz-http
> >> > --- Logical volume ---
> >> > LV Path /dev/vg_five66/ciphershed-dmz-http
> >> > LV Name ciphershed-dmz-http
> >> > VG Name vg_five66
> >> > LV UUID 3yQHr9-WpdJ-76eL-4lEZ-hv0X-HP3N-GgqOvN
> >> > LV Write Access read/write
> >> > LV Creation host, time five-66.pdinc.us, 2015-02-17
> 05:05:17 -0500
> >> > LV Status available
> >> > # open 0
> >> > LV Size 8.00 GiB
> >> > Current LE 2048
> >> > Segments 1
> >> > Allocation inherit
> >> > Read ahead sectors auto
> >> > - currently set to 256
> >> > Block device 253:3
> >> >
> >> >
> >> > root at five-66 ~
> >> > # vgdisplay
> >> > --- Volume group ---
> >> > VG Name vg_five66
> >> > System ID
> >> > Format lvm2
> >> > Metadata Areas 1
> >> > Metadata Sequence No 36
> >> > VG Access read/write
> >> > VG Status resizable
> >> > MAX LV 0
> >> > Cur LV 5
> >> > Open LV 2
> >> > Max PV 0
> >> > Cur PV 1
> >> > Act PV 1
> >> > VG Size 1.82 TiB
> >> > PE Size 4.00 MiB
> >> > Total PE 476806
> >> > Alloc PE / Size 19866 / 77.60 GiB
> >> > Free PE / Size 456940 / 1.74 TiB
> >> > VG UUID drT68w-cRLR-ZcmV-VYFz-haaK-Djd4-S8q9EV
> >> >
> >> >
> >> > root at five-66 ~
> >> > # rpm -qf `which vgdisplay`
> >> > lvm2-2.02.111-2.el6_6.1.x86_64
> >> >
> >> > root at five-66 ~
> >> > # uname -a
> >> > Linux five-66.pdinc.us 2.6.32-504.8.1.el6.x86_64 #1 SMP Wed
> >> > Jan 28 21:11:36 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
> >>
> >> # lvremove /dev/vg_five66/ciphershed-dmz-http
> >> Do you really want to remove active logical volume
> >> ciphershed-dmz-http? [y/n]: y
> >> Logical volume "ciphershed-dmz-http" successfully removed
> >>
> >> root at five-66 ~
> >> # lvcreate --size 8589934592b --name ciphershed-dmz-http vg_five66
> >> Logical volume "ciphershed-dmz-http" created
> >>
> >> root at five-66 ~
> >> # dd of=/dev/vg_five66/ciphershed-dmz-http bs=512 if=/dev/zero
> >> dd: writing `/dev/vg_five66/ciphershed-dmz-http': No space
> >> left on device
> >> 16777217+0 records in
> >> 16777216+0 records out
> >> 8589934592 bytes (8.6 GB) copied, 254.765 s, 33.7 MB/s
> >>
> >
> > <snip/>
> >
> > It is back.
> >
> > root at five-66 ~
> > # rsync --inplace --progress
> server:/var/lib/libvirt/images/ciphershed-dmz-http.img
> /dev/vg_five66/ciphershed-dmz-http -vv
> > opening connection using: ssh server rsync --server
> --sender -vve.Ls --inplace .
> /var/lib/libvirt/images/ciphershed-dmz-http.img
> > delta-transmission enabled
> > ciphershed-dmz-http.img
> > 4285333400 49% 113.37MB/s 0:00:37
> > rsync: write failed on
> "/dev/vg_five66/ciphershed-dmz-http": No space left on device (28)
> > rsync error: error in file IO (code 11) at receiver.c(301)
> [receiver=3.0.6]
> > rsync: connection unexpectedly closed (48 bytes received so
> far) [generator]
> > rsync error: error in rsync protocol data stream (code 12)
> at io.c(600) [generator=3.0.6]
> >
> > root at five-66 ~
> > # dd of=/dev/vg_five66/ciphershed-dmz-http bs=512 if=/dev/zero
> > dd: writing `/dev/vg_five66/ciphershed-dmz-http': No space
> left on device
> > 8580489+0 records in
> > 8580488+0 records out
> > 4393209856 bytes (4.4 GB) copied, 11.2402 s, 391 MB/s
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- -
- Jason Pyeron PD Inc. http://www.pdinc.us -
- Principal Consultant 10 West 24th Street #100 -
- +1 (443) 269-1555 x333 Baltimore, Maryland 21218 -
- -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.
More information about the linux-lvm
mailing list