Related to usbdrive
Net Llama!
netllama
Mon May 17 11:57:49 PDT 2004
On Tue, 6 Jan 2004, Swapana Ghosh wrote:
> --- Net Llama! <netllama at linux-sxs.org> wrote:
> > On Tue, 6 Jan 2004, Swapana Ghosh wrote:
> > > I am facing problem in retrieving the data from the USB drive..
> > >
> > > /dev/sda1 117189600 117189600 0 100% /usbdrive
> >
> > Where are you getting that?
>
> The above is the *df* result.... The drive was full that we knew.... We had to
> reboot the server... AFter rebooting , we mounted but we are unable to get the
> data in it..
>
> I have mounted the *usbdrive* as follows::
>
> #mount -t fvat /dev/sda1 /usbdrive -- and it accepted , i tried also with
>
> #mount -t ext3 /dev/sda1 /usbdrive -- but did not get success...
Why all the guessing? Don't you know what filesystem is on the drive?
> > > [root at server /]# cd /usbdrive
> > > [root at userver usbdrive]# ls -la
> > > total 68
> > > drwxr-xr-x 258 root root 65536 Dec 31 1969 .
> > > drwxr-xr-x 29 root root 4096 Jan 5 16:57 ..
> > > -rwxr-xr-x 1 root root 0 Jan 1 1980 4kl?5kl?
> > > -rwxr-xr-x 1 root root 0 Jan 1 1980 -kl?
> > > -rwxr-xr-x 1 root root 0 Jan 1 1980 %kl?&kl?
> > > -rwxr-xr-x 1 root root 0 Jan 1 1980 ?kl??kl?
> > > -rwxr-xr-x 1 root root 0 Jan 1 1980 ?u?
> >
> > What filesystem is this? What kernel are you using?
> >
>
> filesystem - as i mentioned how i have mounted....
> kerenel version i am getting as follows : It must be the last higher version..
How about 'uname -a'?
> > > Moreover i am watching the /usbdrive became *write protected*, i am unable
> > to
> > > create any file there.
> >
> > How are you 'watching' it become write protected? Are there any errors in
> > dmesg or messages?
> >
> I am trying to create file with *touch* - it is giving the output as follows::
>
> ________________________________________________
> [root at server usbdrive]# touch xx
> touch: creating `xx': Read-only file system
> [root at server usbdrive]#
> ________________________________________________
>
> So i said it is *write protected**...
> If you need any information , pl. let me know.. There are whole backup we keep
> in this drive...So I need to retrieve the data...
I don't understand the problem. Retrieving data means reading, not
writing. And if the drive is at 100% used, then you shouldn't be able to
write anything more. Can you copy data off of the drive? Can you remount
it rw ? Are there any errors in messages or dmesg?
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lonni J Friedman netllama at linux-sxs.org
Linux Step-by-step & TyGeMo http://netllama.ipfox.com
More information about the Linux-users
mailing list