Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

[SOLVED] Can't reformat btrfs USB drive
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
[SOLVED] Can't reformat btrfs USB drive
20th Jan, 2014, 06:30 AM
Post: #1
dstuart Offline
Registered
Posts: 9
Joined: Jan 2014
Reputation: 1
[SOLVED] Can't reformat btrfs USB drive
Hi,

So I used a USB drive to install an earlier Xbian package (I've since moved back to just using an SD card), but I've just grabbed it to reformat and use it with my Mac, and am unable to reformat it.

Terminal
root@xbian:~# sudo mount /dev/sdb1 /mnt
mount: block device /dev/sdb1 is write-protected, mounting read-only
root@xbian:~# mount -o remount,rw /dev/sdb1
mount: cannot remount block device /dev/sdb1 read-write, is write-protected

Terminal
/dev/sdb1 on /mnt type btrfs (ro,relatime,space_cache)

Anyone got any ideas to make this drive usable again?

Thanks
Find all posts by this user
Quote this message in a reply
21st Jan, 2014, 05:42 AM
Post: #2
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: Can't reformat btrfs USB drive
Why don't you just reformat in on the Mac or any other machine?

I'm also concerned why it's not automounting.

Can you provide the output of

dmesg - via pastebin
df -h
mount

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
26th Jan, 2014, 11:31 PM
Post: #3
dstuart Offline
Registered
Posts: 9
Joined: Jan 2014
Reputation: 1
RE: Can't reformat btrfs USB drive
Hi IriDium, that would of course be the easy option!
Sorry, I didn't make it too clear. I'm unable to format it on a Mac, Windows, or any other machine. Everything I've tried just kicks out the same response; along the lines of "Read-only disk", "Disk is not readable", or "Write-protected".

Here's the output as requested. (Note: the drive seems to be showing up as sda1 now; the systems been updated since my first post).
Pastebin
Find all posts by this user
Quote this message in a reply
26th Jan, 2014, 11:52 PM
Post: #4
koper89 Offline
Registered
Posts: 97
Joined: Jan 2014
Reputation: 8
RE: Can't reformat btrfs USB drive
Try gparted, just try to delete partitions and repartition it once again
Find all posts by this user
Quote this message in a reply
27th Jan, 2014, 02:54 AM
Post: #5
dstuart Offline
Registered
Posts: 9
Joined: Jan 2014
Reputation: 1
RE: Can't reformat btrfs USB drive
(26th Jan, 2014 11:52 PM)koper89 Wrote:  Try gparted, just try to delete partitions and repartition it once again

Same story!
I'm about giving up to be honest. Waste of a good USB, but the effort spent really isn't worth it.

Find all posts by this user
Quote this message in a reply
27th Jan, 2014, 02:59 AM
Post: #6
koper89 Offline
Registered
Posts: 97
Joined: Jan 2014
Reputation: 8
RE: Can't reformat btrfs USB drive
Quote: Optionally if gparted can't delete the partitions, you could use dd to clear the device.

Type sudo bash in the terminal of gparted.

Type in dd if=/dev/zero of=/dev/sda bs=4k conv=notrunc

And replace sda with whatever the gparted software shows it as being, sdb, sdf, sdz, etc.
Source: http://superuser.com/questions/612964/installed-ubuntu-on-usb-drive-now-its-read-only-and-cant-be-formatted
Find all posts by this user
Quote this message in a reply
27th Jan, 2014, 04:03 AM
Post: #7
dstuart Offline
Registered
Posts: 9
Joined: Jan 2014
Reputation: 1
RE: Can't reformat btrfs USB drive
Terminal
user@debian:~$ sudo bash
root@debian:/home/user# dd if=/dev/zero of=/dev/sdb bs=4k conv=notrunc
dd: failed to open '/dev/sdb': Read-only file system
root@debian:/home/user#
Find all posts by this user
Quote this message in a reply
8th Feb, 2014, 04:24 AM
Post: #8
merike Offline
Registered
Posts: 1
Joined: Jan 2014
Reputation: 1
RE: Can't reformat btrfs USB drive
I had the same problem, finally I found solution. I used phison format & restore v3.9.0.0 - use restore ntfs.

http://www.usbdev.ru/post-psrestore3900-m0704/
Find all posts by this user
Quote this message in a reply
10th Feb, 2014, 05:49 AM
Post: #9
dstuart Offline
Registered
Posts: 9
Joined: Jan 2014
Reputation: 1
RE: Can't reformat btrfs USB drive
(8th Feb, 2014 04:24 AM)merike Wrote:  I had the same problem, finally I found solution. I used phison format & restore v3.9.0.0 - use restore ntfs.

http://www.usbdev.ru/post-psrestore3900-m0704/

@merike I LOVE you.
I'd spent more hours on this than I'd care to admit! I'd pretty much concluded it a lost cause. Thanks so much
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Possibly Related Threads...
Thread: Author Replies Views: Last Post
  [Solved] BTRFS - another copy is running...... Skywatch 5 12,832 31st May, 2014 08:14 AM
Last Post: CurlyMo

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 9th May, 2025, 01:45 PM Powered By MyBB, © 2002-2025 MyBB Group.