You are not logged in.

#1 2021-01-17 08:41:25

foyle
Member
Registered: 2018-03-15
Posts: 38

Cannot write to internal Data storage HDD? SOLVED

Hi all
Just made the transfer to Lithium from Helium with a fresh install and for some bizarre reason I now cannot write to my 2TB internal data storage drive ? Even if I mount and right click as Root to access my data drive folders it still wont allow me to drag folders across from my BL folders to it?
Never happened with Helium. It a NTFS formatted drive as I dual boot and share ot with Win 10 for data storage (downloads etc...).
I have ntfs-3g install so thats not the issue.
Thanks for any enlightenment it's much appreciated.


p.s. love the feel of Lithium by the way smile

Last edited by foyle (2021-01-22 14:10:27)

Offline

#2 2021-01-17 17:23:43

trilobite
Member
From: Saskatchewan, Canada
Registered: 2017-06-27
Posts: 162

Re: Cannot write to internal Data storage HDD? SOLVED

List the permissions for the drives I think.  Sounds like a permissions problem.


{Linux-using people I haven't met are friends yet to be made.}

Offline

#3 2021-01-17 18:26:32

sleekmason
zoom
Registered: 2018-05-22
Posts: 1,110
Website

Re: Cannot write to internal Data storage HDD? SOLVED

You can check if mounted, and whether read/write with:

mount|grep ^/dev

If not listed, then not mounted. Check with:

sudo blkid

to see if the partition shows in the system,

and also check /etc/fstab
to make sure it is listed there with proper everything.

Offline

#4 2021-01-17 18:26:37

rbh
Moderator
From: South of Lapplands inland
Registered: 2016-08-11
Posts: 1,921

Re: Cannot write to internal Data storage HDD? SOLVED

Is your windows file system clean? If not and you try to mount from terminal, you will get the answer:

The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
[...]

What message do you get when using ntfs-3g in terminal?
I prefer to mount ntfs-disks thus.


// Regards rbh

Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu

Offline

#5 2021-01-17 18:28:58

foyle
Member
Registered: 2018-03-15
Posts: 38

Re: Cannot write to internal Data storage HDD? SOLVED

Hi thanks for the reply. That's what I thought i double checked the permissions and the drive itself and folders are set to Read and Write? It's quite bizarre as I never had this issue with Helium after a fresh install. Any suggestions?? Thanks 


trilobite wrote:

List the permissions for the drives I think.  Sounds like a permissions problem.

Offline

#6 2021-01-17 18:31:44

foyle
Member
Registered: 2018-03-15
Posts: 38

Re: Cannot write to internal Data storage HDD? SOLVED

Thanks for the reply. This is what I get back with the mount grep command, IMAGE_VIDEO is the drive in question....its mounted for sure as I can read from it and copy from it to my BL Home folder.

mount|grep ^/dev
/dev/sdb1 on / type ext4 (rw,relatime,errors=remount-ro)
/dev/sdb6 on /home type ext4 (rw,relatime)
/dev/sda1 on /media/foyle/IMAGE_VIDEO type fuseblk (ro,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)





sleekmason wrote:

You can check if mounted, and whether read/write with:

mount|grep ^/dev

If not listed, then not mounted. Check with:

sudo blkid

to see if the partition shows in the system,

and also check /etc/fstab
to make sure it is listed there with proper everything.

Last edited by foyle (2021-01-17 18:38:43)

Offline

#7 2021-01-17 18:36:12

foyle
Member
Registered: 2018-03-15
Posts: 38

Re: Cannot write to internal Data storage HDD? SOLVED

Hi thanks for the reply

My windows file system is clean as far as I know. I had no problems with Helium, it would let me read and write as soon as it was mounted? What is the ntfs-3g command via the terminal? Im not that familiar with it? thanks


rbh wrote:

Is your windows file system clean? If not and you try to mount from terminal, you will get the answer:

The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
[...]

What message do you get when using ntfs-3g in terminal?
I prefer to mount ntfs-disks thus.

Last edited by foyle (2021-01-17 18:36:36)

Offline

#8 2021-01-17 18:57:48

sleekmason
zoom
Registered: 2018-05-22
Posts: 1,110
Website

Re: Cannot write to internal Data storage HDD? SOLVED

What is the ntfs-3g command via the terminal?

Open a terminal, type

ntfs-3g

and look for the output.  Use:

man ntfs-3g

in a terminal for more info and commands.

Offline

#9 2021-01-17 19:04:04

sleekmason
zoom
Registered: 2018-05-22
Posts: 1,110
Website

Re: Cannot write to internal Data storage HDD? SOLVED

https://forums.linuxmint.com/viewtopic.php?t=228865

This is where I got the groovy mount command above from.  Sounds like the steps after that command may be relevant. (opposite problem).

Last edited by sleekmason (2021-01-17 19:09:16)

Offline

#10 2021-01-17 21:05:38

rbh
Moderator
From: South of Lapplands inland
Registered: 2016-08-11
Posts: 1,921

Re: Cannot write to internal Data storage HDD? SOLVED

foyle wrote:

My windows file system is clean as far as I know.

To check the if the windows filesystem is dirty, in windows, open an terminal. Run:

chkdsk c:

chkdsk = "Check disk"
The disk is checked for errors, and report is typed.

To actualy run chkdsk, add switch "/f" (force). Confirm that you want to run chkdsk. It will be run when you reboot. If very dirty (check log for report), run a second time.

Edit:
When checking D:, it is possible to unmount drive and run without reboot.

What is the ntfs-3g command via the terminal? Im not that familiar with it? thanks

ntfs-3g -o rw,uid=1000,gid=1000 /dev/sda1 /mnt/sda1

Should work hopefully. -o= option -rw=read write

Last edited by rbh (2021-01-17 21:09:11)


// Regards rbh

Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu

Offline

#11 2021-01-18 06:43:15

foyle
Member
Registered: 2018-03-15
Posts: 38

Re: Cannot write to internal Data storage HDD? SOLVED

hi again,
thanks for the info. i booted into W10 and found that the permissions for the data drive was not set to Execute on that drive. Up on resetting and editing the permissions and rebooting I found that now I can read and write to my data drive! Thanks to all for all your help and support its much appreciated. Lithium runs rock solid so far. smile

rbh wrote:
foyle wrote:

My windows file system is clean as far as I know.

To check the if the windows filesystem is dirty, in windows, open an terminal. Run:

chkdsk c:

chkdsk = "Check disk"
The disk is checked for errors, and report is typed.

To actualy run chkdsk, add switch "/f" (force). Confirm that you want to run chkdsk. It will be run when you reboot. If very dirty (check log for report), run a second time.

Edit:
When checking D:, it is possible to unmount drive and run without reboot.

What is the ntfs-3g command via the terminal? Im not that familiar with it? thanks

ntfs-3g -o rw,uid=1000,gid=1000 /dev/sda1 /mnt/sda1

Should work hopefully. -o= option -rw=read write

Offline

#12 2021-01-18 08:53:05

rbh
Moderator
From: South of Lapplands inland
Registered: 2016-08-11
Posts: 1,921

Re: Cannot write to internal Data storage HDD? SOLVED

@foyle, now you can edit the subject as [Solved]


// Regards rbh

Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu

Offline

Board footer

Powered by FluxBB