We’d like to remind Forumites to please avoid political debate on the Forum.

This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.

Any linux bods out there??

I have a WD MYBookWorld NAS drive and a while ago it lost all of my shared directories. I managed to recover a load of photos (long story) a while ago and never used the drive since. I've just started looking at it again and I think my data is still on there, but I can't quite get to it.

I have logged in to the drive with putty and run fdisk -l, which gives me :

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 5 249 1959936 fd Linux raid autodetect
Partition 1 does not end on cylinder boundary.
/dev/sda2 249 280 256992 fd Linux raid autodetect
Partition 2 does not end on cylinder boundary.
/dev/sda3 280 403 988000 fd Linux raid autodetect
Partition 3 does not end on cylinder boundary.
/dev/sda4 403 121601 973522944+ fd Linux raid autodetect


Which, to me, seems to suggest my data is on /dev/sda4?

I'm trying to mount the filesystem on a new mount point (/media/temp), using :

mount -t etc3 /dev/sda4 /media/temp

but this is giving me this message:

mount: Mounting /dev/sda4 on /media/temp failed: Device or resource busy

Anyone able to make any suggestions as to what I could try next?
«13456

Comments

  • surely you mean ext3 not etc3 ?
    4.8kWp 12x400W Longhi 9.6 kWh battery Giv-hy 5.0 Inverter, WSW facing Essex . Aint no sunshine ☀️ Octopus gas fixed 5.07 +
    Flux leccy

    CEC Email energyclub@moneysavingexpert.com
  • Oh and plus where are you trying to mount it , on a linux box ? because I suppose it is a Network share so you can't use /dev/sda4 for a network drive
    4.8kWp 12x400W Longhi 9.6 kWh battery Giv-hy 5.0 Inverter, WSW facing Essex . Aint no sunshine ☀️ Octopus gas fixed 5.07 +
    Flux leccy

    CEC Email energyclub@moneysavingexpert.com
  • Pauls
    Pauls Posts: 752 Forumite
    edited 8 December 2011 at 10:23PM
    surely you mean ext3 not etc3 ?

    Oops, yeah that's right

    Oh and plus where are you trying to mount it , on a linux box ? because I suppose it is a Network share so you can't use /dev/sda4 for a network drive

    The drive has a linux os on it, so that's where I'm trying to do it.
  • Pauls wrote: »
    Oops, yeah that's right




    The drive has a linux os on it, so that's where I'm trying to do it. /dev/sda4 is the filesystem I'm trying to mount
    Then it will be busy , the nas drive will have it already in use. try df or df -k perhaps
    4.8kWp 12x400W Longhi 9.6 kWh battery Giv-hy 5.0 Inverter, WSW facing Essex . Aint no sunshine ☀️ Octopus gas fixed 5.07 +
    Flux leccy

    CEC Email energyclub@moneysavingexpert.com
  • Pauls
    Pauls Posts: 752 Forumite
    Then it will be busy , the nas drive will have it already in use. try df or df -k perhaps

    Doesn't that just show available space on a mounted fs, or am I missing something?
  • Pauls wrote: »
    Doesn't that just show available space on a mounted fs, or am I missing something?
    Yep but it shows if it is working, are you having problems accessing it elsewhere. Try ls -altr whatever-it-is-mounted-on
    4.8kWp 12x400W Longhi 9.6 kWh battery Giv-hy 5.0 Inverter, WSW facing Essex . Aint no sunshine ☀️ Octopus gas fixed 5.07 +
    Flux leccy

    CEC Email energyclub@moneysavingexpert.com
  • Pauls
    Pauls Posts: 752 Forumite
    Yep but it shows if it is working, are you having problems accessing it elsewhere. Try ls -altr whatever-it-is-mounted-on

    I think the problem is that it's not mounted anywhere, so I can't get to the data on it.
  • Pauls wrote: »
    I think the problem is that it's not mounted anywhere, so I can't get to the data on it.
    Not even on the NAS ?? if that is true then try fsck /dev/sda4
    edit ---- although it should do that if needed at power on.
    4.8kWp 12x400W Longhi 9.6 kWh battery Giv-hy 5.0 Inverter, WSW facing Essex . Aint no sunshine ☀️ Octopus gas fixed 5.07 +
    Flux leccy

    CEC Email energyclub@moneysavingexpert.com
  • Have you tried access through it's web-interface?
    4.8kWp 12x400W Longhi 9.6 kWh battery Giv-hy 5.0 Inverter, WSW facing Essex . Aint no sunshine ☀️ Octopus gas fixed 5.07 +
    Flux leccy

    CEC Email energyclub@moneysavingexpert.com
  • Pauls
    Pauls Posts: 752 Forumite
    Not even on the NAS ?? if that is true then try fsck /dev/sda4
    edit ---- although it should do that if needed at power on.

    that's right, I can't see it at all

    Unfortunately, looks like i've only got a subset of linux on the drive. No sign of fsck
This discussion has been closed.
★ ★ ★ Meet your Ambassadors

Categories

  • All Categories
  • 356K Banking & Borrowing
  • 255K Reduce Debt & Boost Income
  • 456.3K Spending & Discounts
  • 248.5K Work, Benefits & Business
  • 606.4K Mortgages, Homes & Bills
  • 179.1K Life & Family
  • 264.2K Travel & Transport
  • 1.6M Hobbies & Leisure
  • 16.2K Discuss & Feedback
  • 37.7K Read-Only Boards
Quick Search

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.