DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2011-06-08 23:58:45

muchadhesion
New member
Registered: 2011-06-08
Posts: 2

Mounting ext3 drive for simple sharing over network?

Hi,

I have a HDD formatted for ext3 (single partition) with some data on, that I'd like to mount in my new DNS-320.

It mounts fine with my old DNS-323.  I was hoping the DNS-320 would do the same, but it seems to insist on re-formatting all drives with AJAX stuff and a RAID partition even though I just want simple storage.

Is it possible to persuade the DNS-320 to mount an ext3 drive without the baggage?  I have ffp installed and ready to go...

Many thanks for any advice...
m

Offline

 

#2 2011-06-11 12:03:04

Mijzelf
Member / Developer
Registered: 2008-07-05
Posts: 709

Re: Mounting ext3 drive for simple sharing over network?

I'd expect you can just mount it manually:

Code:

mount /dev/sdc1 /path/to/mountpoint

To share it, you'll have to edit smb.conf, or create the mountpoint in an existing share.

Offline

 

#3 2011-06-11 13:05:01

muchadhesion
New member
Registered: 2011-06-08
Posts: 2

Re: Mounting ext3 drive for simple sharing over network?

Thanks!

It seems it _is_ mounting the drive automatically, but not publishing it over smb.  I'll have a fiddle with smb.conf and report back.
(Turns out my drive is ext2, not ext3 as I thought - maybe it'll deal better with existing data on an ext3 partition...)

Code:

/ # df
Filesystem           1k-blocks      Used Available Use% Mounted on
rootfs                    9911      4226      5173  45% /
/dev/root                 9911      4226      5173  45% /
/dev/loop0               23552     23552         0 100% /usr/local/modules
/dev/mtdblock5            5120       404      4716   8% /usr/local/config
/dev/sda4               495884     15314    480570   3% /mnt/HD_a4
/dev/sda2            113340224    229520 113110704   0% /mnt/HD/HD_a2
/dev/sdb2            960910180 708712352 252197828  74% /mnt/HD/HD_b2

Another question:

fdisk -l reports that the DNS-320 formatted drive "Partition 1/4 does not end on cylinder boundary" and "Partition table entries are not in disk order".  Any guesses as to why DLink DNS-320 chooses to format the drive in this way?


Code:

/ # fdisk -l

Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sda1               1          66      530112  82 Linux swap
Partition 1 does not end on cylinder boundary
/dev/sda2             130       14465   115147928  83 Linux
/dev/sda4              66         130      512040  83 Linux
Partition 4 does not end on cylinder boundary

Partition table entries are not in disk order

Last edited by muchadhesion (2011-06-11 13:36:55)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB