Re: Can not Mount btrfs No Space left
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 --- signature.asc Description: Digital signature
Re: Can not Mount btrfs No Space left
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 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 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Can not Mount btrfs No Space left
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 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 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 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html