Find the answer to your Linux question:
Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 21
Hi Guys I have a NAS (DNS-323) that's running Linux. I'm not sure what happened, but I'm suddenly unable to access some of the folders. I suspect permissions have gotten ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2013
    Posts
    10

    Lost access to some folders on partition


    Hi Guys

    I have a NAS (DNS-323) that's running Linux. I'm not sure what happened, but I'm suddenly unable to access some of the folders. I suspect permissions have gotten muddled up somehow, but I don't know how to fix. My Root login also no longer works, though I'm sure I'm using the correct password. I believe there are bootable Linux CDs that allow you to recover passwords, but as this is a NAS, I'm not sure how to proceed.

    I've always struggled with Linux stuff, so am hoping somebody out there can offer some possible fixes?

    Tks,

    Steven

  2. #2
    Just Joined!
    Join Date
    Sep 2008
    Location
    Earth
    Posts
    51
    Are you using fun_plug?
    Is this raid or jbod volume?
    What are the drive models?

    There are common issue people report with this specific nas, which I have also experienced myself while using raid. In my case I was using raid 1 and had to attach the drives to a ubuntu install and rebuild the array to copy my data off.
    Inside the web gui you should be able to run some tools to test consistency of the filesystem, and to run a SMART test. Do these and reply with the results.

  3. #3
    Just Joined!
    Join Date
    Mar 2013
    Posts
    10
    Hi

    Yes, I'm using fun_plug.
    The drives are configured as RAID1
    Drive models are both WD15EADS-00P8B0

    I ran the Scan Disk tool and received a Failed for Scan Disk Result. I can't see anything else in the web GUI to allow me to test consistency of the file system.

    I'm partial to the idea of rebuilding the entire NAS. I attempted removing one of the drives previously and mounting but found it to be unreadable off my Win 7 laptop. I figured this was related to needing software RAID drivers, so gave up there. I wasn't aware this is possible under Ubuntu. Unless you think there's an easy way to fit the NAS directly, I'd appreciate knowing how you mounted the drive under Ubuntu.

    Tks for the help.

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Sep 2008
    Location
    Earth
    Posts
    51
    If you can obtain a system which has ubuntu installed and two spare sata ports I'll try my best to help.

  6. #5
    Just Joined!
    Join Date
    Mar 2013
    Posts
    10
    Do I need to have both Sata drives mounted? I've only got a laptop with Ubuntu 12 and a SATA to USB converter cable presently.

  7. #6
    Just Joined!
    Join Date
    Sep 2008
    Location
    Earth
    Posts
    51
    sata to usb should be fine as long as both are connected. Do not mount them. When thats installed we need to scan these block devices for raid info.

  8. #7
    Just Joined!
    Join Date
    Sep 2008
    Location
    Earth
    Posts
    51
    fdisk -l and paste the results here

  9. #8
    Just Joined!
    Join Date
    Mar 2013
    Posts
    10
    Okay, here's the details (the NAS drives are the 1500.3 gigs mentioned below):


    Disk /dev/sdb: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders, total 976773168 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: 0xbbc58b91

    Device Boot Start End Blocks Id System
    /dev/sdb1 2048 488368127 244183040 7 HPFS/NTFS/exFAT
    /dev/sdb2 488368128 898600689 205116281 7 HPFS/NTFS/exFAT
    /dev/sdb3 898600958 976771071 39085057 5 Extended
    /dev/sdb5 * 898600960 970047487 35723264 83 Linux
    /dev/sdb6 970049536 976771071 3360768 82 Linux swap / Solaris

    Disk /dev/sda: 120.0 GB, 120034123776 bytes
    255 heads, 63 sectors/track, 14593 cylinders, total 234441648 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: 0x0500b7f8

    Device Boot Start End Blocks Id System
    /dev/sda1 * 206848 234438655 117115904 7 HPFS/NTFS/exFAT

    Disk /dev/sdc: 1500.3 GB, 1500301910016 bytes
    255 heads, 63 sectors/track, 182401 cylinders, total 2930277168 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: 0x38dab3aa

    Device Boot Start End Blocks Id System
    /dev/sdc1 63 1060289 530113+ 82 Linux swap / Solaris
    /dev/sdc2 2088450 2927621339 1462766445 83 Linux
    /dev/sdc4 1060290 2088449 514080 83 Linux

    Partition table entries are not in disk order

    Disk /dev/sdd: 1500.3 GB, 1500301910016 bytes
    255 heads, 63 sectors/track, 182401 cylinders, total 2930277168 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: 0x38dab3a0

    Device Boot Start End Blocks Id System
    /dev/sdd1 63 1060289 530113+ 82 Linux swap / Solaris
    /dev/sdd2 2088450 2927621339 1462766445 83 Linux
    /dev/sdd4 1060290 2088449 514080 83 Linux

    Partition table entries are not in disk order


    Tks for the help

  10. #9
    Just Joined!
    Join Date
    Sep 2008
    Location
    Earth
    Posts
    51
    If you have done below move on.

    sudo apt-get install smartmontools ( this will install tools to test drives b4 we move on )
    Reference this material please https://help.ubuntu.com/community/Smartmontools

    Im sure they will pass, but lets be certain. Once this is complete if no errors reported after the extended test we will do a filesystem check with the commands below.

    fsck /dev/sdd
    fsck /dev/sdc

    Reference Below.
    10 Linux Fsck Command Examples to Check and Repair Filesystem

  11. #10
    Just Joined!
    Join Date
    Sep 2008
    Location
    Earth
    Posts
    51
    I wanted to add at this point if you can connect another drive we can backup your date to a different drive if its readable in ubuntu.

Page 1 of 3 1 2 3 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •