Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Can't get write access to my external hdd's..
New Posts  All Forums:Forum Nav:

Can't get write access to my external hdd's.. - Page 2

post #11 of 13
Thread Starter 
Quote:
Originally Posted by Shrak View Post

My guess would be the spaces ( \040 escapes as a space ), or length with the spaces escape sequences added ( 20 ). which I didn't notice earlier for some reason. Try with just simple labels, a-z A-Z 1-0.

So I'm assuming the drives literal labels were intended as,

Toshiba 5TB HDD
Seagate 2TB HDD

In which case I would just name them Toshiba5TB, Seagate2TB. This would negate both ideas if it didn't work as it gets rid of the spaces, and also keeps it short. Like I said, I have mine labeled as "external" and it's never been an issue with any filesystem on any OS.

Can't look up the limits for labels on ext file systems right now, but I assume it isn't hard to find.

Ah yeh, it seems the spaces in the label were the issue. So that's it, sorted! I'm glad I asked how to do all this because I spent half a day searching beforehand and got nowhere lol..

Thanks for your help thumb.gif

Now onto my next mission - learning how to use rsync and what to bother backing up with it...
post #12 of 13
Labels are limited to 16 characters and can be changed using the "e2label" command
Code:
e2label /dev/sda1 new_name

From the man page
Code:
NAME
       e2label - Change the label on an ext2/ext3/ext4 filesystem

SYNOPSIS
       e2label device [ new-label ]

DESCRIPTION
       e2label will display or change the filesystem label on the ext2, ext3, or ext4 filesystem located on device.

       If the optional argument new-label is not present, e2label will simply display the current filesystem label.

       If  the  optional argument new-label is present, then e2label will set the filesystem label to be new-label.  Ext2 filesystem labels can be
       at most 16 characters long; if new-label is longer than 16 characters, e2label will truncate it and print a warning message.

       It is also possible to set the filesystem label using the -L option of tune2fs(8).

Edited by Diffident - 10/12/15 at 3:18pm
Boinc Desktop
(14 items)
 
CrunchAholic
(8 items)
 
 
CPUMotherboardGraphicsRAM
AMD Ryzen 7 1700X ASRock X370 Taichi Gigabyte GTX 970 G1 HyperX Predator 
Hard DriveCoolingCoolingCooling
Hyper Predator M.2 Watercool Heatkiller IV PRO AM4 CPU Block EKWB GTX 970 GPU Block EKWB Coolstream XE 240 Radiator 
CoolingCoolingOSPower
EKWB Coolstream PE 360 Radiator Watercool Heatkiller 150mm Tube Res Gentoo Linux EVGA 850 G2 
CaseMouse
Thermaltake View 31 Tempered Glass RGB Edition Roccat Kone EMP 
CPUCPUMotherboardGraphics
Intel Xeon E5-2670 Intel Xeon E5-2670 Asrock Rack EP2C602 XFX RX 480 RS 
RAMHard DriveOSPower
64 GBs Samsung M939B1K70CHD-CH9 PC3-10600R Samsung HD322HJ Arch Linux Corsair AX1200 
  hide details  
Reply
Boinc Desktop
(14 items)
 
CrunchAholic
(8 items)
 
 
CPUMotherboardGraphicsRAM
AMD Ryzen 7 1700X ASRock X370 Taichi Gigabyte GTX 970 G1 HyperX Predator 
Hard DriveCoolingCoolingCooling
Hyper Predator M.2 Watercool Heatkiller IV PRO AM4 CPU Block EKWB GTX 970 GPU Block EKWB Coolstream XE 240 Radiator 
CoolingCoolingOSPower
EKWB Coolstream PE 360 Radiator Watercool Heatkiller 150mm Tube Res Gentoo Linux EVGA 850 G2 
CaseMouse
Thermaltake View 31 Tempered Glass RGB Edition Roccat Kone EMP 
CPUCPUMotherboardGraphics
Intel Xeon E5-2670 Intel Xeon E5-2670 Asrock Rack EP2C602 XFX RX 480 RS 
RAMHard DriveOSPower
64 GBs Samsung M939B1K70CHD-CH9 PC3-10600R Samsung HD322HJ Arch Linux Corsair AX1200 
  hide details  
Reply
post #13 of 13
Thread Starter 
Thanks for the tip on e2label. I've been using the terminal a bit more since posting this thread. Got myself a bit of a text file with useful commands saved now. Once I started understanding some of the common terms in these commands, it didn't feel like as much of a big deal anymore. Been learning how to make little scripts to run on schedules as well. It's kinda fun actually tongue.gif But, I do try and do stuff with GUI's as much as possible still.. Endless things to learn to be able to set my system up properly, but I'll get there smile.gif
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Can't get write access to my external hdd's..