* Can not Mount btrfs No Space left
@ 2012-10-15 19:52 Shawn Dakin
2012-10-15 20:17 ` Hugo Mills
0 siblings, 1 reply; 4+ messages in thread
From: Shawn Dakin @ 2012-10-15 19:52 UTC (permalink / raw)
To: linux-btrfs
I have a btrfs volume that will not mount due to "No space on device"
I would gladly free up some space if I could only mount the volume.
Does anyone have a trick to getting this volume back up and running?
Any help would be great!!
Thanks guys
--
Shawn Dakin (CNE)
Director of Technology
Newcomerstown Schools
659 S. Beaver St.
Newcomerstown Oh, 43832
Office 740-498-4999
Cell 740-227-0339
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Can not Mount btrfs No Space left
2012-10-15 19:52 Can not Mount btrfs No Space left Shawn Dakin
@ 2012-10-15 20:17 ` Hugo Mills
2012-10-15 20:27 ` Shawn Dakin
0 siblings, 1 reply; 4+ messages in thread
From: Hugo Mills @ 2012-10-15 20:17 UTC (permalink / raw)
To: Shawn Dakin; +Cc: linux-btrfs
[-- Attachment #1: Type: text/plain, Size: 893 bytes --]
On Mon, Oct 15, 2012 at 03:52:15PM -0400, Shawn Dakin wrote:
> I have a btrfs volume that will not mount due to "No space on device"
> I would gladly free up some space if I could only mount the volume.
> Does anyone have a trick to getting this volume back up and running?
> Any help would be great!!
Start with a 3.6 kernel (which has lots of ENOSPC fixes in it). Try
mounting with -o ro, which won't allow you to modify anything but may
show you if the FS is at least mountable in that state (and will give
you the capability to copy the data elsewhere in extremis). If you're
lucky, that mount may then allow you to mount it again without the -o
ro.
Hugo.
--
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
--- Great oxymorons of the world, no. 6: Mature Student ---
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 828 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Can not Mount btrfs No Space left
2012-10-15 20:17 ` Hugo Mills
@ 2012-10-15 20:27 ` Shawn Dakin
2012-10-16 15:21 ` Shawn Dakin
0 siblings, 1 reply; 4+ messages in thread
From: Shawn Dakin @ 2012-10-15 20:27 UTC (permalink / raw)
To: Hugo Mills, Shawn Dakin, linux-btrfs
Hugo,
Thanks, I had not thought of that.
It does mount fine ro so I can access the files.
Any ideas on getting access to delete a few log files or snapshots so
I can mount the volume rw?
If not I will just copy it off onto another, but that will be time consuming.
On Mon, Oct 15, 2012 at 4:17 PM, Hugo Mills <hugo@carfax.org.uk> wrote:
> On Mon, Oct 15, 2012 at 03:52:15PM -0400, Shawn Dakin wrote:
>> I have a btrfs volume that will not mount due to "No space on device"
>> I would gladly free up some space if I could only mount the volume.
>> Does anyone have a trick to getting this volume back up and running?
>> Any help would be great!!
>
> Start with a 3.6 kernel (which has lots of ENOSPC fixes in it). Try
> mounting with -o ro, which won't allow you to modify anything but may
> show you if the FS is at least mountable in that state (and will give
> you the capability to copy the data elsewhere in extremis). If you're
> lucky, that mount may then allow you to mount it again without the -o
> ro.
>
> Hugo.
>
> --
> === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
> PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
> --- Great oxymorons of the world, no. 6: Mature Student ---
--
Shawn Dakin (CNE)
Director of Technology
Newcomerstown Schools
659 S. Beaver St.
Newcomerstown Oh, 43832
Office 740-498-4999
Cell 740-227-0339
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Can not Mount btrfs No Space left
2012-10-15 20:27 ` Shawn Dakin
@ 2012-10-16 15:21 ` Shawn Dakin
0 siblings, 0 replies; 4+ messages in thread
From: Shawn Dakin @ 2012-10-16 15:21 UTC (permalink / raw)
To: Hugo Mills, Shawn Dakin, linux-btrfs
Well, I mounted the volume ro and copied that data to another device.
Then I cleaned the junk out and then copied the data back to the
original device which I had wiped.
Total recovery time 4 hours.
Thanks for the hint Hugo, I don't know why it never occurred to me to
mount it read only.
On Mon, Oct 15, 2012 at 4:27 PM, Shawn Dakin
<dakinsh00@staff.nctschools.org> wrote:
> Hugo,
> Thanks, I had not thought of that.
> It does mount fine ro so I can access the files.
> Any ideas on getting access to delete a few log files or snapshots so
> I can mount the volume rw?
> If not I will just copy it off onto another, but that will be time consuming.
>
>
> On Mon, Oct 15, 2012 at 4:17 PM, Hugo Mills <hugo@carfax.org.uk> wrote:
>> On Mon, Oct 15, 2012 at 03:52:15PM -0400, Shawn Dakin wrote:
>>> I have a btrfs volume that will not mount due to "No space on device"
>>> I would gladly free up some space if I could only mount the volume.
>>> Does anyone have a trick to getting this volume back up and running?
>>> Any help would be great!!
>>
>> Start with a 3.6 kernel (which has lots of ENOSPC fixes in it). Try
>> mounting with -o ro, which won't allow you to modify anything but may
>> show you if the FS is at least mountable in that state (and will give
>> you the capability to copy the data elsewhere in extremis). If you're
>> lucky, that mount may then allow you to mount it again without the -o
>> ro.
>>
>> Hugo.
>>
>> --
>> === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
>> PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
>> --- Great oxymorons of the world, no. 6: Mature Student ---
>
>
>
> --
> Shawn Dakin (CNE)
> Director of Technology
> Newcomerstown Schools
>
> 659 S. Beaver St.
> Newcomerstown Oh, 43832
> Office 740-498-4999
> Cell 740-227-0339
--
Shawn Dakin (CNE)
Director of Technology
Newcomerstown Schools
659 S. Beaver St.
Newcomerstown Oh, 43832
Office 740-498-4999
Cell 740-227-0339
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-10-16 15:21 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-15 19:52 Can not Mount btrfs No Space left Shawn Dakin
2012-10-15 20:17 ` Hugo Mills
2012-10-15 20:27 ` Shawn Dakin
2012-10-16 15:21 ` Shawn Dakin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).