help with samba on r7000p

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
cugel
DD-WRT Novice


Joined: 29 May 2021
Posts: 5

PostPosted: Sat May 29, 2021 18:29    Post subject: help with samba on r7000p Reply with quote
I've got a r7000p and am something of a beginner.

Under the usb tab, the partition I'm trying to connect to is /dev/sda2 mounted to /tmp/mnt/sda2.

However, when setting up file sharing in the NAS tab, the only option I have for Path is /mnt, and that's all.

I tried to set sda2 in the Subdir but perhaps unsurprisingly that just takes me to an empty dir named sda2 when attempting to browse in Win 10.

Anyone know offhand what I'm doing wrong?
Sponsor
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 6855
Location: Romerike, Norway

PostPosted: Sat May 29, 2021 18:33    Post subject: Reply with quote
What build of dd-wrt are you running.

In what format is the drive formatted?
grmcdorman
DD-WRT Novice


Joined: 15 Oct 2017
Posts: 41

PostPosted: Sat May 29, 2021 18:54    Post subject: Reply with quote
Have you followed the guide for setting up DD-WRT as a NAS? - https://wiki.dd-wrt.com/wiki/index.php/USB_storage

TL;DR:

  1. Enable Core USB support (Services => USB).
  2. Enable USB storage (same place).
  3. (Optional) Enable automatic storage mount.
  4. On NAS tab (next tab), check that your partitions show up. You may need to format them.
  5. Enable Samba and fill in details.
  6. Add the partitions to the mount list.
  7. Add one or more users.
cugel
DD-WRT Novice


Joined: 29 May 2021
Posts: 5

PostPosted: Sat May 29, 2021 19:13    Post subject: Reply with quote
Per Yngve Berg wrote:
What build of dd-wrt are you running.

In what format is the drive formatted?


I'm using the latest r7000p beta from download1.dd-wrt.com, and the drive is ntfs.
cugel
DD-WRT Novice


Joined: 29 May 2021
Posts: 5

PostPosted: Sat May 29, 2021 19:16    Post subject: Reply with quote
grmcdorman wrote:
Have you followed the guide for setting up DD-WRT as a NAS? - https://wiki.dd-wrt.com/wiki/index.php/USB_storage

TL;DR:

  1. Enable Core USB support (Services => USB).
  2. Enable USB storage (same place).
  3. (Optional) Enable automatic storage mount.
  4. On NAS tab (next tab), check that your partitions show up. You may need to format them.
  5. Enable Samba and fill in details.
  6. Add the partitions to the mount list.
  7. Add one or more users.


That's the guide I used. Here's the readout on the usb tab:

Code:
--- /dev/sda
Block device, size 7.277 TiB (8001563221504 bytes)
DOS/MBR partition map
Partition 1: 2.000 TiB (2199023255040 bytes, 4294967295 sectors from 1)
Type 0xEE (EFI GPT Protective)
GPT partition map, block size 512 bytes, 128 entries
Disk size 7.277 TiB (8001563221504 bytes, 15628053167 blocks of 512 bytes)
Disk GUID D232A0E1-B667-494B-A4E1-6BBAD96A781B
Partition 1: 128 MiB (134217728 bytes, 262144 blocks of 512 bytes from 34)
Type MS Reserved (GUID 16E3C9E3-5C0B-B84D-817D-F92DF00215AE)
Partition Name "Microsoft reserved partition"
Partition GUID 48B1F70F-B2DF-7C4B-A84A-C4072BE21D6A
Blank disk/medium
Partition 2: 7.277 TiB (8001427603456 bytes, 15627788288 blocks of 512 bytes from 264192)
Type Basic Data (GUID A2A0D0EB-E5B9-3344-87C0-68B6B72699C7)
Partition Name "Basic data partition"
Partition GUID E057CA7B-ACC0-D143-A613-501303E6F4E9
Windows BOOTMGR boot loader
NTFS file system
UUID 84C2D681C2D67740
Volume size 7.277 TiB (8001427602944 bytes, 15627788287 sectors)
Partition 3: unused
/dev/sda not mounted Unsupported Filesystem

--- /dev/sda1
Block device, size 128 MiB (134217728 bytes)
Blank disk/medium
/dev/sda1 not mounted Unsupported Filesystem

--- /dev/sda2
Block device, size 7.277 TiB (8001427603456 bytes)
Windows BOOTMGR boot loader
NTFS file system
UUID 84C2D681C2D67740
Volume size 7.277 TiB (8001427602944 bytes, 15627788287 sectors)
/dev/sda2 mounted to /tmp/mnt/sda2
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14102
Location: Texas, USA

PostPosted: Sat May 29, 2021 20:36    Post subject: Reply with quote
cugel wrote:
Per Yngve Berg wrote:
What build of dd-wrt are you running.

In what format is the drive formatted?


I'm using the latest r7000p beta from download1.dd-wrt.com, and the drive is ntfs.


This build, I presume? Use the numbers, do not use "the latest...", please.

https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2021/05-28-2021-r46788/netgear-r7000P/

Did you flash and report in the build thread like we encourage people to do?

https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=329243

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
cugel
DD-WRT Novice


Joined: 29 May 2021
Posts: 5

PostPosted: Sat May 29, 2021 23:58    Post subject: Reply with quote
kernel-panic69 wrote:
cugel wrote:
Per Yngve Berg wrote:
What build of dd-wrt are you running.

In what format is the drive formatted?


I'm using the latest r7000p beta from download1.dd-wrt.com, and the drive is ntfs.


This build, I presume? Use the numbers, do not use "the latest...", please.

https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2021/05-28-2021-r46788/netgear-r7000P/

Did you flash and report in the build thread like we encourage people to do?

https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=329243


Yes, r46788. I didn't post in the build thread because I didn't think I was knowledgeable enough to contribute there, and it's not a support thread.

I think my problems is tied to ntfs, I was able to successfully add an ext4 drive, but two ntfs drives only have mnt/ in the Path drop-down menu.
grmcdorman
DD-WRT Novice


Joined: 15 Oct 2017
Posts: 41

PostPosted: Sun May 30, 2021 0:27    Post subject: Reply with quote
Yeah, that's what the status tab says: Unsupported filesystem. Do you need NTFS? (i.e. is it necessary to mount this device on Windows?)

If not, you can reformat the partition in the DD-WRT web GUI.

EDIT: Did some checking, NTFS may be supported. I'd recommend you use ext4, though, unless there is that requirement to also mount the drive on Windows. Mind you, the UI is saying "not supported" so either the partition isn't properly formatted, or the NTFS (variant, there's more than one) is truly not supported by your DD-WRT build.
cugel
DD-WRT Novice


Joined: 29 May 2021
Posts: 5

PostPosted: Sun May 30, 2021 0:45    Post subject: Reply with quote
I had glossed over "not supported" for sda and sda1 because it claims to have successfully mounted /dev/sda2 to /tmp/mnt/sda2. Also "ntfs" is a formatting option at the bottom of the NAS tab, so I thought that would imply support for it.

I don't think the drives are formatted incorrectly as they both seem to run fine under both Windows and Linux. I'd like to access the drive in Windows, if possible.

edit: as an experiment I used the dd-wrt interface to format my ext4 drive to ntfs to see if that would produce a ntfs drive dd-wrt would recognize, but unfortunately it behaves the same as my other ntfs drives.
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 6855
Location: Romerike, Norway

PostPosted: Sun May 30, 2021 5:44    Post subject: Reply with quote
I will recommend ext4.

Your drive has 3 partitions. Only one mounts.

The only reason to keep the ntfs, is if you may remove the drive and mount it in a Windows Machine. Accessing the drive on the router over Samba from Windows works with EXT4.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum