USB is not writable... so sad.

9acca9

Well-Known Member
Dec 27, 2017
34
3
48
73
HI.
I connected a usb disk before and all was fine.
But today i dont know what happen that is just read only..

Code:
root@pve:/mnt# mkdir share
root@pve:/mnt# cd ..
root@pve:/# mount -t ntfs /dev/sdb1  /mnt/share/
root@pve:/# cd mnt/share/
root@pve:/mnt/share# touch ho
touch: cannot touch 'ho': Read-only file system

what can i do?
 
hi. Thanks.
I see that it is mounted like this:
Code:
/dev/sdb1 /mnt ntfs ro,relatime,uid=0,gid=0,fmask=0177,dmask=077,nls=utf8,errors=continue,mft_zone_multiplier=1 0 0

But, when i mounted i just did:
Code:
mount -t ntfs /dev/sdb1  /mnt/
 
Thanks. I try first to umount and it seems..... busy...
So, i try with

root@pve:~# umount -l /mnt

and then

root@pve:~# mount -t ntfs -o rw /dev/sdb1 /mnt/
mount: /mnt: /dev/sdb1 already mounted or mount point busy.
dmesg(1) may have more information after failed mount system call.
root@pve:~# umount -l /mnt
umount: /mnt: not mounted.


it says is mounted but... also say is not?
 
Also
Code:
cat /proc/mounts
sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
proc /proc proc rw,relatime 0 0
udev /dev devtmpfs rw,nosuid,relatime,size=8017732k,nr_inodes=2004433,mode=755,inode64 0 0
devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
tmpfs /run tmpfs rw,nosuid,nodev,noexec,relatime,size=1611064k,mode=755,inode64 0 0
/dev/mapper/pve-root / ext4 rw,relatime,errors=remount-ro 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev,inode64 0 0
tmpfs /run/lock tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k,inode64 0 0
cgroup2 /sys/fs/cgroup cgroup2 rw,nosuid,nodev,noexec,relatime 0 0
sunrpc /run/rpc_pipefs rpc_pipefs rw,relatime 0 0
tmpfs /run/user/0 tmpfs rw,nosuid,nodev,relatime,size=1611060k,nr_inodes=402765,mode=700,inode64 0 0
 
Well, the ntfs crap was dirty...
i use ntfsfix and it is fixed... im getting all the files, and one i have all the backups in other side i will format this usb disk (it is 1TB).
What would you think will be a good file system? i dont really care if just can be read from a Linux system.

Thanks!!!!!!!!!
(i can breath......)
 
  • Like
Reactions: Kingneutron
ext4 should work fine, XFS seems slightly faster on the same hardware and is better for larger drives (but cannot be shrunk)

ZFS if you want compression, snapshots, easy SMB sharing and the like ( but you only get self-healing with a mirror or above, e.g. RAIDZx -- or you could try copies=2 per-dataset for critical data on a single-disk pool ) -- but make backups regardless
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!