LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   USB Mass Storage (https://www.linuxquestions.org/questions/linux-software-2/usb-mass-storage-361073/)

Daniboy 09-07-2005 10:21 AM

USB Mass Storage
 
hello everyone

I have ghosted my current setup on a USB HD with ReiserFS and now I want to mount this on a difrent machine with full read/write access? what parms do I need for this?

Daniboy 09-07-2005 10:47 AM

A little more info:

reiserfsck --check started at Wed Sep 7 17:45:28 2005
###########
Partition /dev/sda6 is mounted with write permissions, cannot check it

Or is it simply impossibly to run the "fsck.reiserfs" on a usb masss storage device?

abisko00 09-07-2005 11:27 AM

I am no expert on this, but it looks to me as if you can only run reiserfsck if the drive is mounted read-only (or not at all?).

Valhalla 09-07-2005 08:34 PM

You cannot run fsck on a drive that is mounted. If you try to force this you can lose the entire partition. Unmount it before trying. You can mount it easily with full r/w permission, just set your -o flag in fstab to rw.

Daniboy 09-08-2005 01:56 AM

I will use another solution and connect it directly to the ATA controller...

abisko00 09-08-2005 02:12 AM

What I don't really understand:
How is running fsck connected to your attempt to mount the drive?
You ask for mounting parameters, but what has that to do with the fsck thing?

Daniboy 09-08-2005 04:01 AM

Quote:

Originally posted by Daniboy
A little more info:

reiserfsck --check started at Wed Sep 7 17:45:28 2005
###########
Partition /dev/sda6 is mounted with write permissions, cannot check it

Or is it simply impossibly to run the "fsck.reiserfs" on a usb masss storage device?

It looks of what I have been able of reading of forums/sites/guides that it mounted by something called "subfs" and have to remount it or something... but im going to put the drive directly on the server IDE controller and recover some data that way.

Valhalla 09-08-2005 07:42 AM

Ah, that would make sense. Subfs is a daemon that runs in user space and causes filesystems to appear whenever they are there. The kernel thinks they are always there cuz it sees someting mounted though. Generally, this is only used for removable media though.

Daniboy 09-08-2005 10:04 AM

I believe USB devices is under this term?

phil.d.g 09-08-2005 10:35 AM

I have a USB mass storage device, it is not mounted by subfs.

I only run fsck when the device is not mounted and it works. I mount the device in the same way I would a hdd connected to the ide channel

Daniboy 09-12-2005 08:30 AM

if I unmount the disk. Then I can perform the file system check


All times are GMT -5. The time now is 08:58 PM.