Unix Technical Forum

SEO

vBulletin Search Engine Optimization


Go Back   Unix Technical Forum > Unix Operating Systems > Linux Operating System

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-19-2008, 06:13 AM
lalawawa
 
Posts: n/a
Default usb disk insists on being readonly

Hi, I just bought a 400Mbyte usb disk.

My OS is Ubuntu version 5, I've recently done the updates to it.

My computer is a Sony VAIO PCV-RX270DS that I bought in 2001, with
about 400Mbytes of disk and the usb port is USB 1 (that manual doesn't
say which USB version because I think USB 2.0 wasn't out yet). The
disk is connected through a hub.

The drive is a 400GB Simpletech drive. The specifications make it
clear it's USB 1.1 compatible. All the online technical support
assumes you're on Windows.

When I turn on the disk, it appears in the /media directory by the
filename ' simpletech ' (not spaces before and after the name). The
fstab entry that appears is

/dev/sda /media/usb0 auto rw,user,noauto 0 0

If I cd to /media and do 'ls -ld \ simpletech\ ', I get
dr-x------ 1 wulluw wulluw 4096 2007-02-20 10:25 simpletech
if I go into that directory and do 'ls -la' I get
total 8
dr-x------ 1 wulluw wulluw 4096 2007-02-20 10:25 .
drwxr-xr-x 7 root root 4096 2007-07-04 14:20 ..
dr-x------ 1 wulluw wulluw 0 2007-02-20 10:25 System Volume
Information
if I try 'touch a' it says
touch: cannot touch `a': Read-only file system
if I try 'sudo touch a' it still says
touch: cannot touch `a': Read-only file system
I cd back to /media
$ chmod +w \ simpletech\ /
chmod: changing permissions of ` simpletech /': Read-only file system
$ sudo chmod +w \ simpletech\ /
chmod: changing permissions of ` simpletech /': Read-only file system

Why is it saying the filesystem is readonly when /etc/fstab clearly
says it's rw? What do I have to do to get the disk mounted rw? A
400GB readonly disk with nothing on it isn't very useful.

Any help would be appreciated.

Bill

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-19-2008, 06:13 AM
lalawawa
 
Posts: n/a
Default Re: usb disk insists on being readonly

oops - I meant my computer has about 400MB of ram, not disk.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-19-2008, 06:13 AM
Roby
 
Posts: n/a
Default Re: usb disk insists on being readonly

lalawawa wrote:

> Hi, I just bought a 400Mbyte usb disk.
>
> My OS is Ubuntu version 5, I've recently done the updates to it.
>
> My computer is a Sony VAIO PCV-RX270DS that I bought in 2001, with
> about 400Mbytes of disk and the usb port is USB 1 (that manual doesn't
> say which USB version because I think USB 2.0 wasn't out yet). The
> disk is connected through a hub.
>
> The drive is a 400GB Simpletech drive. The specifications make it
> clear it's USB 1.1 compatible. All the online technical support
> assumes you're on Windows.
>
> When I turn on the disk, it appears in the /media directory by the
> filename ' simpletech ' (not spaces before and after the name). The
> fstab entry that appears is
>
> /dev/sda /media/usb0 auto rw,user,noauto 0 0
>
> If I cd to /media and do 'ls -ld \ simpletech\ ', I get
> dr-x------ 1 wulluw wulluw 4096 2007-02-20 10:25 simpletech
> if I go into that directory and do 'ls -la' I get
> total 8
> dr-x------ 1 wulluw wulluw 4096 2007-02-20 10:25 .
> drwxr-xr-x 7 root root 4096 2007-07-04 14:20 ..
> dr-x------ 1 wulluw wulluw 0 2007-02-20 10:25 System Volume
> Information
> if I try 'touch a' it says
> touch: cannot touch `a': Read-only file system
> if I try 'sudo touch a' it still says
> touch: cannot touch `a': Read-only file system
> I cd back to /media
> $ chmod +w \ simpletech\ /
> chmod: changing permissions of ` simpletech /': Read-only file system
> $ sudo chmod +w \ simpletech\ /
> chmod: changing permissions of ` simpletech /': Read-only file system
>
> Why is it saying the filesystem is readonly when /etc/fstab clearly
> says it's rw? What do I have to do to get the disk mounted rw? A
> 400GB readonly disk with nothing on it isn't very useful.
>
> Any help would be appreciated.
>
> Bill

My guess: the drive is formatted ntfs and the "auto" in the fstab entry
is causing linux to load the ntfs driver (rather than ntfs-3g). The
drive will be painfully slow at usb 1.1. usb2 pci cards are cheap and
do a great job.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-19-2008, 06:13 AM
Matt Giwer
 
Posts: n/a
Default Re: usb disk insists on being readonly

lalawawa wrote:
> Hi, I just bought a 400Mbyte usb disk.
>
> My OS is Ubuntu version 5, I've recently done the updates to it.
>
> My computer is a Sony VAIO PCV-RX270DS that I bought in 2001, with
> about 400Mbytes of disk and the usb port is USB 1 (that manual doesn't
> say which USB version because I think USB 2.0 wasn't out yet). The
> disk is connected through a hub.
>
> The drive is a 400GB Simpletech drive. The specifications make it
> clear it's USB 1.1 compatible. All the online technical support
> assumes you're on Windows.
>
> When I turn on the disk, it appears in the /media directory by the
> filename ' simpletech ' (not spaces before and after the name). The
> fstab entry that appears is
>
> /dev/sda /media/usb0 auto rw,user,noauto 0 0
>
> If I cd to /media and do 'ls -ld \ simpletech\ ', I get
> dr-x------ 1 wulluw wulluw 4096 2007-02-20 10:25 simpletech
> if I go into that directory and do 'ls -la' I get
> total 8
> dr-x------ 1 wulluw wulluw 4096 2007-02-20 10:25 .
> drwxr-xr-x 7 root root 4096 2007-07-04 14:20 ..
> dr-x------ 1 wulluw wulluw 0 2007-02-20 10:25 System Volume
> Information
> if I try 'touch a' it says
> touch: cannot touch `a': Read-only file system
> if I try 'sudo touch a' it still says
> touch: cannot touch `a': Read-only file system
> I cd back to /media
> $ chmod +w \ simpletech\ /
> chmod: changing permissions of ` simpletech /': Read-only file system
> $ sudo chmod +w \ simpletech\ /
> chmod: changing permissions of ` simpletech /': Read-only file system
>
> Why is it saying the filesystem is readonly when /etc/fstab clearly
> says it's rw? What do I have to do to get the disk mounted rw? A
> 400GB readonly disk with nothing on it isn't very useful.
>
> Any help would be appreciated.


What kind of filesystem did you put on it when you formatted it?

--
Al Qaeda is growing so quickly that today everyone in Iraq who is fighting
the US is a member of Al Qaeda.
-- The Iron Webmaster, 3810
nizkor http://www.giwersworld.org/nizkook/nizkook.phtml
http://www.giwersworld.org
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-19-2008, 06:13 AM
lalawawa
 
Posts: n/a
Default Re: usb disk insists on being readonly

On Jul 4, 6:05 pm, Roby <r...@no-address.net> wrote:
> lalawawa wrote:
> > Hi, I just bought a 400Mbyte usb disk.

>
> > My OS is Ubuntu version 5, I've recently done the updates to it.

>
> > My computer is a Sony VAIO PCV-RX270DS that I bought in 2001, with
> > about 400Mbytes of disk and the usb port is USB 1 (that manual doesn't
> > say which USB version because I think USB 2.0 wasn't out yet). The
> > disk is connected through a hub.

>
> > The drive is a 400GB Simpletech drive. The specifications make it
> > clear it's USB 1.1 compatible. All the online technical support
> > assumes you're on Windows.

>
> > When I turn on the disk, it appears in the /media directory by the
> > filename ' simpletech ' (not spaces before and after the name). The
> > fstab entry that appears is

>
> > /dev/sda /media/usb0 auto rw,user,noauto 0 0

>
> > If I cd to /media and do 'ls -ld \ simpletech\ ', I get
> > dr-x------ 1 wulluw wulluw 4096 2007-02-20 10:25 simpletech
> > if I go into that directory and do 'ls -la' I get
> > total 8
> > dr-x------ 1 wulluw wulluw 4096 2007-02-20 10:25 .
> > drwxr-xr-x 7 root root 4096 2007-07-04 14:20 ..
> > dr-x------ 1 wulluw wulluw 0 2007-02-20 10:25 System Volume
> > Information
> > if I try 'touch a' it says
> > touch: cannot touch `a': Read-only file system
> > if I try 'sudo touch a' it still says
> > touch: cannot touch `a': Read-only file system
> > I cd back to /media
> > $ chmod +w \ simpletech\ /
> > chmod: changing permissions of ` simpletech /': Read-only file system
> > $ sudo chmod +w \ simpletech\ /
> > chmod: changing permissions of ` simpletech /': Read-only file system

>
> > Why is it saying the filesystem is readonly when /etc/fstab clearly
> > says it's rw? What do I have to do to get the disk mounted rw? A
> > 400GB readonly disk with nothing on it isn't very useful.

>
> > Any help would be appreciated.

>
> > Bill

>
> My guess: the drive is formatted ntfs and the "auto" in the fstab entry
> is causing linux to load the ntfs driver (rather than ntfs-3g). The
> drive will be painfully slow at usb 1.1. usb2 pci cards are cheap and
> do a great job.


OK, how do I fix the fstab entry to make it RW?

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-19-2008, 06:13 AM
lalawawa
 
Posts: n/a
Default Re: usb disk insists on being readonly

On Jul 4, 5:53 pm, Matt Giwer <jul...@tampabay.REMover.rr.com> wrote:
> lalawawa wrote:
> > Hi, I just bought a 400Mbyte usb disk.

>
> > My OS is Ubuntu version 5, I've recently done the updates to it.

>
> > My computer is a Sony VAIO PCV-RX270DS that I bought in 2001, with
> > about 400Mbytes of disk and the usb port is USB 1 (that manual doesn't
> > say which USB version because I think USB 2.0 wasn't out yet). The
> > disk is connected through a hub.

>
> > The drive is a 400GB Simpletech drive. The specifications make it
> > clear it's USB 1.1 compatible. All the online technical support
> > assumes you're on Windows.

>
> > When I turn on the disk, it appears in the /media directory by the
> > filename ' simpletech ' (not spaces before and after the name). The
> > fstab entry that appears is

>
> > /dev/sda /media/usb0 auto rw,user,noauto 0 0

>
> > If I cd to /media and do 'ls -ld \ simpletech\ ', I get
> > dr-x------ 1 wulluw wulluw 4096 2007-02-20 10:25 simpletech
> > if I go into that directory and do 'ls -la' I get
> > total 8
> > dr-x------ 1 wulluw wulluw 4096 2007-02-20 10:25 .
> > drwxr-xr-x 7 root root 4096 2007-07-04 14:20 ..
> > dr-x------ 1 wulluw wulluw 0 2007-02-20 10:25 System Volume
> > Information
> > if I try 'touch a' it says
> > touch: cannot touch `a': Read-only file system
> > if I try 'sudo touch a' it still says
> > touch: cannot touch `a': Read-only file system
> > I cd back to /media
> > $ chmod +w \ simpletech\ /
> > chmod: changing permissions of ` simpletech /': Read-only file system
> > $ sudo chmod +w \ simpletech\ /
> > chmod: changing permissions of ` simpletech /': Read-only file system

>
> > Why is it saying the filesystem is readonly when /etc/fstab clearly
> > says it's rw? What do I have to do to get the disk mounted rw? A
> > 400GB readonly disk with nothing on it isn't very useful.

>
> > Any help would be appreciated.

>
> What kind of filesystem did you put on it when you formatted it?
>
> --
> Al Qaeda is growing so quickly that today everyone in Iraq who is fighting
> the US is a member of Al Qaeda.
> -- The Iron Webmaster, 3810
> nizkorhttp://www.giwersworld.org/nizkook/nizkook.phtml
> http://www.giwersworld.org


I did not format the drive. I just bought it, brought it home,
plugged it into the USB hub and turned it on.
How would I go about formatting the drive? I would want the drive to
be also readable if I hook it up to a windows machine.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 01-19-2008, 06:13 AM
lalawawa
 
Posts: n/a
Default Re: usb disk insists on being readonly

On Jul 4, 6:05 pm, Roby <r...@no-address.net> wrote:
> lalawawa wrote:
> > Hi, I just bought a 400Mbyte usb disk.

>
> > My OS is Ubuntu version 5, I've recently done the updates to it.

>
> > My computer is a Sony VAIO PCV-RX270DS that I bought in 2001, with
> > about 400Mbytes of disk and the usb port is USB 1 (that manual doesn't
> > say which USB version because I think USB 2.0 wasn't out yet). The
> > disk is connected through a hub.

>
> > The drive is a 400GB Simpletech drive. The specifications make it
> > clear it's USB 1.1 compatible. All the online technical support
> > assumes you're on Windows.

>
> > When I turn on the disk, it appears in the /media directory by the
> > filename ' simpletech ' (not spaces before and after the name). The
> > fstab entry that appears is

>
> > /dev/sda /media/usb0 auto rw,user,noauto 0 0

>
> > If I cd to /media and do 'ls -ld \ simpletech\ ', I get
> > dr-x------ 1 wulluw wulluw 4096 2007-02-20 10:25 simpletech
> > if I go into that directory and do 'ls -la' I get
> > total 8
> > dr-x------ 1 wulluw wulluw 4096 2007-02-20 10:25 .
> > drwxr-xr-x 7 root root 4096 2007-07-04 14:20 ..
> > dr-x------ 1 wulluw wulluw 0 2007-02-20 10:25 System Volume
> > Information
> > if I try 'touch a' it says
> > touch: cannot touch `a': Read-only file system
> > if I try 'sudo touch a' it still says
> > touch: cannot touch `a': Read-only file system
> > I cd back to /media
> > $ chmod +w \ simpletech\ /
> > chmod: changing permissions of ` simpletech /': Read-only file system
> > $ sudo chmod +w \ simpletech\ /
> > chmod: changing permissions of ` simpletech /': Read-only file system

>
> > Why is it saying the filesystem is readonly when /etc/fstab clearly
> > says it's rw? What do I have to do to get the disk mounted rw? A
> > 400GB readonly disk with nothing on it isn't very useful.

>
> > Any help would be appreciated.

>
> > Bill

>
> My guess: the drive is formatted ntfs and the "auto" in the fstab entry
> is causing linux to load the ntfs driver (rather than ntfs-3g). The
> drive will be painfully slow at usb 1.1. usb2 pci cards are cheap and
> do a great job.


I would like to put in a USB 2.0 board, but I absolutely, positively
don't want to make any hardware changes to my box until I'm able to
back up.

In the past, I would back up on CD-ROM using K3B. Then suddenly,
probably as a result of an upgrade, neither K3B nor the CD-ROM Creator
software are able to find my CD burner. Here's my fstab:

$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/mapper/Ubuntu-root / ext3
defaults,errors=remount-ro 0 1
/dev/hda1 /boot ext3 defaults 0 2
/dev/mapper/Ubuntu-swap_1 none swap sw
0 0
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/hdd /media/cdrom1 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
/dev/sda /media/usb0 auto rw,user,noauto 0 0
$
$ df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/Ubuntu-root
37079744 12680436 22515764 37% /
tmpfs 193436 0 193436 0% /dev/shm
tmpfs 193436 12588 180848 7% /lib/modules/
2.6.12-10-386/volatile
/dev/hda1 233335 19153 201734 9% /boot
/dev/sda1 390708800 77912 390630888 1% /media/
simpletech
$

but I don't think upgrading to a 2.0 port is going to change the
permissions of the disk. I think all that would be accomplished by
upgrading to USB 2.0 would be to change my slow 400GB readonly disk
with nothing on it to a fast 400GB disk with nothing on it.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 01-19-2008, 06:13 AM
Matt Giwer
 
Posts: n/a
Default Re: usb disk insists on being readonly

lalawawa wrote:
> On Jul 4, 5:53 pm, Matt Giwer <jul...@tampabay.REMover.rr.com> wrote:
>> lalawawa wrote:
>>> Hi, I just bought a 400Mbyte usb disk.
>>> My OS is Ubuntu version 5, I've recently done the updates to it.
>>> My computer is a Sony VAIO PCV-RX270DS that I bought in 2001, with
>>> about 400Mbytes of disk and the usb port is USB 1 (that manual doesn't
>>> say which USB version because I think USB 2.0 wasn't out yet). The
>>> disk is connected through a hub.
>>> The drive is a 400GB Simpletech drive. The specifications make it
>>> clear it's USB 1.1 compatible. All the online technical support
>>> assumes you're on Windows.
>>> When I turn on the disk, it appears in the /media directory by the
>>> filename ' simpletech ' (not spaces before and after the name). The
>>> fstab entry that appears is
>>> /dev/sda /media/usb0 auto rw,user,noauto 0 0
>>> If I cd to /media and do 'ls -ld \ simpletech\ ', I get
>>> dr-x------ 1 wulluw wulluw 4096 2007-02-20 10:25 simpletech
>>> if I go into that directory and do 'ls -la' I get
>>> total 8
>>> dr-x------ 1 wulluw wulluw 4096 2007-02-20 10:25 .
>>> drwxr-xr-x 7 root root 4096 2007-07-04 14:20 ..
>>> dr-x------ 1 wulluw wulluw 0 2007-02-20 10:25 System Volume
>>> Information
>>> if I try 'touch a' it says
>>> touch: cannot touch `a': Read-only file system
>>> if I try 'sudo touch a' it still says
>>> touch: cannot touch `a': Read-only file system
>>> I cd back to /media
>>> $ chmod +w \ simpletech\ /
>>> chmod: changing permissions of ` simpletech /': Read-only file system
>>> $ sudo chmod +w \ simpletech\ /
>>> chmod: changing permissions of ` simpletech /': Read-only file system
>>> Why is it saying the filesystem is readonly when /etc/fstab clearly
>>> says it's rw? What do I have to do to get the disk mounted rw? A
>>> 400GB readonly disk with nothing on it isn't very useful.
>>> Any help would be appreciated.

>> What kind of filesystem did you put on it when you formatted it?


> I did not format the drive. I just bought it, brought it home,
> plugged it into the USB hub and turned it on.
> How would I go about formatting the drive? I would want the drive to
> be also readable if I hook it up to a windows machine.


If you did not format it the best you might have is a Windows file system so it
can advertise plug-n-play. If it has no filesystem then you obviously cannot
write to it.

What I believe to be a complete description is here.
http://www.giwersworld.org/computers...b-drives.phtml

The general format command is this. It may be a place other than sbin on Ubuntu.

/sbin/mke2fs -c -j -L 320 /dev/sdX1

Read the article to figure out what X should be. It's easy.

I want to make the article complete so let me know how it goes.

If you want it readable by Windows you will have to create a windows file
system on it with windows and set your fstab entry to mount it as vfat or
whatever. I have not done that in so long I do not remember how to do it. If you
just want primitive access google for a program something like lnxread.exe or
lxread.exe which will copy a file from an ext2 or 3 partition to vfat.

If it was advertised as plug-n-play it should have come with a Windows file
system.

--
The only way to get to the bottom of the Valerie Plame outing is to torture
Libby until he tells all. The identity of our spies is a matter of national
security.
-- The Iron Webmaster, 3813
nizkor http://www.giwersworld.org/nizkook/nizkook.phtml
Blame Israel http://www.ussliberty.org a10
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 01-19-2008, 06:13 AM
Roby
 
Posts: n/a
Default Re: usb disk insists on being readonly

lalawawa wrote:

> On Jul 4, 6:05 pm, Roby <r...@no-address.net> wrote:
>> lalawawa wrote:
>> > Hi, I just bought a 400Mbyte usb disk.

>>
>> > My OS is Ubuntu version 5, I've recently done the updates to it.

>>
>> > My computer is a Sony VAIO PCV-RX270DS that I bought in 2001, with
>> > about 400Mbytes of disk and the usb port is USB 1 (that manual doesn't
>> > say which USB version because I think USB 2.0 wasn't out yet). The
>> > disk is connected through a hub.

>>
>> > The drive is a 400GB Simpletech drive. The specifications make it
>> > clear it's USB 1.1 compatible. All the online technical support
>> > assumes you're on Windows.

>>
>> > When I turn on the disk, it appears in the /media directory by the
>> > filename ' simpletech ' (not spaces before and after the name). The
>> > fstab entry that appears is

>>
>> > /dev/sda /media/usb0 auto rw,user,noauto 0 0

>>
>> > If I cd to /media and do 'ls -ld \ simpletech\ ', I get
>> > dr-x------ 1 wulluw wulluw 4096 2007-02-20 10:25 simpletech
>> > if I go into that directory and do 'ls -la' I get
>> > total 8
>> > dr-x------ 1 wulluw wulluw 4096 2007-02-20 10:25 .
>> > drwxr-xr-x 7 root root 4096 2007-07-04 14:20 ..
>> > dr-x------ 1 wulluw wulluw 0 2007-02-20 10:25 System Volume
>> > Information
>> > if I try 'touch a' it says
>> > touch: cannot touch `a': Read-only file system
>> > if I try 'sudo touch a' it still says
>> > touch: cannot touch `a': Read-only file system
>> > I cd back to /media
>> > $ chmod +w \ simpletech\ /
>> > chmod: changing permissions of ` simpletech /': Read-only file system
>> > $ sudo chmod +w \ simpletech\ /
>> > chmod: changing permissions of ` simpletech /': Read-only file system

>>
>> > Why is it saying the filesystem is readonly when /etc/fstab clearly
>> > says it's rw? What do I have to do to get the disk mounted rw? A
>> > 400GB readonly disk with nothing on it isn't very useful.

>>
>> > Any help would be appreciated.

>>
>> > Bill

>>
>> My guess: the drive is formatted ntfs and the "auto" in the fstab entry
>> is causing linux to load the ntfs driver (rather than ntfs-3g). The
>> drive will be painfully slow at usb 1.1. usb2 pci cards are cheap and
>> do a great job.

>
> I would like to put in a USB 2.0 board, but I absolutely, positively
> don't want to make any hardware changes to my box until I'm able to
> back up.
>
> In the past, I would back up on CD-ROM using K3B. Then suddenly,
> probably as a result of an upgrade, neither K3B nor the CD-ROM Creator
> software are able to find my CD burner. Here's my fstab:
>
> $ cat /etc/fstab
> # /etc/fstab: static file system information.
> #
> # <file system> <mount point> <type> <options> <dump> <pass>
> proc /proc proc defaults 0 0
> /dev/mapper/Ubuntu-root / ext3
> defaults,errors=remount-ro 0 1
> /dev/hda1 /boot ext3 defaults 0 2
> /dev/mapper/Ubuntu-swap_1 none swap sw
> 0 0
> /dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
> /dev/hdd /media/cdrom1 udf,iso9660 user,noauto 0 0
> /dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
> /dev/sda /media/usb0 auto rw,user,noauto 0 0
> $
> $ df
> Filesystem 1K-blocks Used Available Use% Mounted on
> /dev/mapper/Ubuntu-root
> 37079744 12680436 22515764 37% /
> tmpfs 193436 0 193436 0% /dev/shm
> tmpfs 193436 12588 180848 7% /lib/modules/
> 2.6.12-10-386/volatile
> /dev/hda1 233335 19153 201734 9% /boot
> /dev/sda1 390708800 77912 390630888 1% /media/
> simpletech
> $
> but I don't think upgrading to a 2.0 port is going to change the
> permissions of the disk. I think all that would be accomplished by
> upgrading to USB 2.0 would be to change my slow 400GB readonly disk
> with nothing on it to a fast 400GB disk with nothing on it.

First let's confirm that your external drive is formatted ntfs:
$ sudo fdisk -l /dev/sda

Yes, it's ntfs. So try mounting it using the ntfs-3g driver:
$ ntfs-3g /dev/sda1 /media/usb0

If successful, you finally have write privilege.

If not, you need to install that driver. I don't use Ubuntu
so don't know the details. Once installed, change fstab to:
/dev/sda1 /media/usb0 ntfs-3g rw,user,noauto 0 0
Note that it's sda1, not sda.

I agree that a recent backup promotes sanity. Doing it at
12megabits/sec will provide time to clean the garage, etc.
It will make you appreciate usb2.0 later. You'll see.

I reformatted my external drives to ext3. Better.

Roby


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 01-19-2008, 06:13 AM
Matt Giwer
 
Posts: n/a
Default Re: usb disk insists on being readonly

lalawawa wrote:
> Note that according to fstab, the drive is /dev/sda. According to df
> and /etc/mtab, the drive is /dev/sda1.
> If I do umount /dev/sda1 it complains it's not in fstab. If I do
> umount /dev/sda, it complains it's not in mtab. I'm not sure how to
> deal with this if I am to format the disk.


To format you do not want it mounted. If you try the format program will ask
you if you are stupid. So just issue the command and see what happens.

--
Drug use is a vice. Stealing to pay for drugs is a crime. The cost of drugs
is high because the vice is considered a crime. Is there any sense in this?
-- The Iron Webmaster, 3820
nizkor http://www.giwersworld.org/nizkook/nizkook.phtml
commentary http://www.giwersworld.org/opinion/running.phtml a5
flying saucers http://www.giwersworld.org/flyingsa.html a2
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:28 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
UnixAdminTalk.com

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366