Seagate freeagent desk 1.5 TB locked to read only
While I had a duel boot with windows XP Media Center and Ubuntu 11.10 I was able to use the Seagate Freeagent 1.5TB to write to but my XP system crashed and became unfix-able so scrubbed the disk and installed Ubuntu 12.14 and the disk would not show up at the same time as my 8 GB skandisk usb flash drive. so I reinstalled 11.10 and now the Seagate drive is locked in read only. In GParted Partition editor there is a key next to the /dev/sdb1 ntfs drive. How do I get the use of my drive back. I have a lot of back up data on this drive so do not want to reformat the drive if possible.
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Doug
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Why is your backup drive being made at risk, makes no sense at all???
Does the drive detect in BIOS?
If you run:
sudo fdisk -l; lsb_release -a; uname -a
What is output?
Thanks
Revision history for this message
|
#2 |
Disk /dev/sda: 100.0 GB, 100030242816 bytes
255 heads, 63 sectors/track, 12161 cylinders, total 195371568 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000ebfed
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 193294335 96646144 83 Linux
/dev/sda2 193296382 195371007 1037313 5 Extended
/dev/sda5 193296384 195371007 1037312 82 Linux swap / Solaris
Disk /dev/sdb: 1500.3 GB, 1500301908992 bytes
255 heads, 63 sectors/track, 182401 cylinders, total 2930277166 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x5a4e52e5
Device Boot Start End Blocks Id System
/dev/sdb1 63 2930272064 1465136001 8e Linux LVM
Disk /dev/sdc: 8004 MB, 8004304896 bytes
19 heads, 5 sectors/track, 164562 cylinders, total 15633408 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000de021
Device Boot Start End Blocks Id System
/dev/sdc1 2048 15632383 7815168 b W95 FAT32
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 11.10
Release: 11.10
Codename: oneiric
Linux douglas-
douglas@
Revision history for this message
|
#3 |
Then you can mount those partitions and access the data, the /dev/sdb is 1.5Tb so sounds like your drive
Revision history for this message
|
#4 |
Sounds like the 1.5TB drive is getting mounted as read only. We will need more information to help. With the drive mounted please tell the output of the following command...
sudo mount ; cat /etc/fstab ; id
Thanks
Revision history for this message
|
#5 |
douglas@
[sudo] password for douglas:
/dev/sda1 on / type ext4 (rw,errors=
proc on /proc type proc (rw,noexec,
sysfs on /sys type sysfs (rw,noexec,
fusectl on /sys/fs/
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,
tmpfs on /run type tmpfs (rw,noexec,
none on /run/lock type tmpfs (rw,noexec,
none on /run/shm type tmpfs (rw,nosuid,nodev)
binfmt_misc on /proc/sys/
gvfs-fuse-daemon on /home/douglas/.gvfs type fuse.gvfs-
/dev/sdc1 on /media/scandisk type vfat (rw,nosuid,
/dev/sdb1 on /media/FreeAgent Drive type fuseblk (rw,nosuid,
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda1 during installation
UUID=42798daa-
# swap was on /dev/sda5 during installation
UUID=6a29db4b-
uid=1000(douglas) gid=1000(douglas) groups=
douglas@
Revision history for this message
|
#6 |
I ran check and repair on Gparted and it seems to have done the trick. I can write but can not change the permissions on the exe files
Revision history for this message
|
#7 |
The drive is certainly being mounted as read/write so that does not appear to be the issue. I suspect it has to do with ownership. I suggest checking the ownership and permission.
Also you may want to consider changing the Volume label for that drive. It appears that the Volume label contains a space character. The label looks like "FreeAgent Drive". You can change the Volume name with the e2label command. I suggest removing the space character. Sometimes the additional space can cause unexpected problems.
Hope this helps
Revision history for this message
|
#8 |
douglas@
e2label: Permission denied while trying to open /dev/sdb1
Couldn't find valid filesystem superblock.
douglas@
e2label: No such file or directory while trying to open dev/sdb
Couldn't find valid filesystem superblock.
douglas@
douglas@
e2label: Permission denied while trying to open /dev/sdb1
Couldn't find valid filesystem superblock.
douglas@
bash: dev/sdb: No such file or directory
douglas@
douglas@
douglas@
the drive seems to have a fixed name by the drive
Error changing fslabel: helper exited with exit code 1: helper failed with:
Volume is scheduled for check.
Revision history for this message
|
#10 |
it will not allow me to change permissions on the files the drive
Revision history for this message
|
#11 |
Are you running the command as superuser with sudo before the command
Ex.
sudo chown $USER /path/to/
sudo chmod 777 /path/to/
Revision history for this message
|
#12 |
No just file manager or home folder
Revision history for this message
|
#13 |
Some how Root has now taken ownweship of all my files on freeagent drive and I can not change the files
Revision history for this message
|
#14 |
I tried both of your suggestion codes
sudo chown -R $USER /media/FreeAgent
and
sudo chmod -R 777 /media/FreeAgent
neither of these codes take back ownership of the folders and files and changed the permission to read only
Revision history for this message
|
#15 |
Those commands should allow you to take ownership and permission.
The other way permission are set are linux is when a drive is mounted. I reviewed the output of you sudo fdisk command and I can see that the partition is a linux LVM. Unfortunately I don't have any experience working with these partition types so I am not familiar with mounting them.
Normally, I would try manually mounting the partition with the mount command using options such as UID=1000,GID=1000. Once I find a mount command that works properly, I put an entry for this in /etc/fstab to have it automount at boot time.
You can try doing something like this on your own, or maybe someone with more experience dealing with LVM's will chime in.
Hope this helps pointing you in the right direction
Wyatt
Revision history for this message
|
#16 |
Ir is a USB seagate NTFS formatted drive
Revision history for this message
|
#17 |
It allows me to write to the drive but will not allow me to change or update any of my backup files. as Root has taken ownership of the files and set the files to read only. .
Revision history for this message
|
#18 |
douglas@
[sudo] password for douglas:
/dev/sda1 on / type ext4 (rw,errors=
proc on /proc type proc (rw,noexec,
sysfs on /sys type sysfs (rw,noexec,
fusectl on /sys/fs/
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,
tmpfs on /run type tmpfs (rw,noexec,
none on /run/lock type tmpfs (rw,noexec,
none on /run/shm type tmpfs (rw,nosuid,nodev)
/dev/sdb1 on /media/FreeAgent type fuseblk (rw,nosuid,
binfmt_misc on /proc/sys/
gvfs-fuse-daemon on /home/douglas/.gvfs type fuse.gvfs-
/dev/sdc1 on /media/scandisk type vfat (rw,nosuid,
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
#Entry for /dev/sda1 :
UUID=42798daa-
#Entry for /dev/sdb1 :
UUID=5288BFD688
#Entry for /dev/sda5 :
UUID=6a29db4b-
uid=1000(douglas) gid=1000(douglas) groups=
douglas@
Revision history for this message
|
#19 |
douglas@
[sudo] password for douglas:
Disk /dev/sda: 100.0 GB, 100030242816 bytes
255 heads, 63 sectors/track, 12161 cylinders, total 195371568 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000ebfed
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 193294335 96646144 83 Linux
/dev/sda2 193296382 195371007 1037313 5 Extended
/dev/sda5 193296384 195371007 1037312 82 Linux swap / Solaris
Disk /dev/sdb: 1500.3 GB, 1500301908992 bytes
255 heads, 63 sectors/track, 182401 cylinders, total 2930277166 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x5a4e52e5
Device Boot Start End Blocks Id System
/dev/sdb1 * 63 2930276351 1465138144+ 7 HPFS/NTFS/exFAT
Disk /dev/sdc: 8004 MB, 8004304896 bytes
19 heads, 5 sectors/track, 164562 cylinders, total 15633408 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000de021
Device Boot Start End Blocks Id System
/dev/sdc1 2048 15632383 7815168 b W95 FAT32
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 11.10
Release: 11.10
Codename: oneiric
Linux douglas-
douglas@
Revision history for this message
|
#20 |
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
#Entry for /dev/sda1 :
UUID=42798daa-
#Entry for /dev/sdb1 :
UUID=5288BFD688
#Entry for /dev/sda5 :
UUID=6a29db4b-
this does not work
Revision history for this message
|
#21 |
douglas@
/dev/sda1 on / type ext4 (rw,errors=
proc on /proc type proc (rw,noexec,
sysfs on /sys type sysfs (rw,noexec,
fusectl on /sys/fs/
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,
tmpfs on /run type tmpfs (rw,noexec,
none on /run/lock type tmpfs (rw,noexec,
none on /run/shm type tmpfs (rw,nosuid,nodev)
/dev/sdb1 on /media/FreeAgent type fuseblk (rw,nosuid,
binfmt_misc on /proc/sys/
gvfs-fuse-daemon on /home/douglas/.gvfs type fuse.gvfs-
/dev/sdc1 on /media/scandisk type vfat (rw,nosuid,
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
#Entry for /dev/sda1 :
UUID=42798daa-
#Entry for /dev/sdb1 :
UUID=5288BFD688
#Entry for /dev/sda5 :
UUID=6a29db4b-
uid=1000(douglas) gid=1000(douglas) groups=
douglas@
Revision history for this message
|
#22 |
This line sorted it in Fstab
/dev/sdb1 /media/FreeAgent ntfs nls=iso8859-