HDsamba Version 3 Available

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page Previous  1, 2, 3, 4 ... 33, 34, 35  Next
Author Message
Amorphis
DD-WRT User


Joined: 08 Jan 2009
Posts: 234
Location: Toronto, Ontario

PostPosted: Sat Jan 31, 2009 18:07    Post subject: Reply with quote
The problem I'm facing right now is finding a utility I can run off /jffs.
I need something compact, preferably an open-wrt version of scsi-idle or something similar, but can't find anything.

With optware being on the HD, I can't run a spin down utility from there.

_________________
WRT350N Eko Mega 11296 + HDsamba2 v4 beta
Sponsor
AtMi
DD-WRT User


Joined: 04 Jan 2009
Posts: 90
Location: Vilnius, Lithuania

PostPosted: Sat Jan 31, 2009 20:35    Post subject: Reply with quote
Amorphis wrote:
Scripts are fixed, feel free to take MINI builds for a spin.

All is working nise, jffs.repair working too. I tried jffs.repair after install and full cleaning jffs.
Nice work. Thanks man.

Only one thing You must correct
Amorphis wrote:
MINI USB Builds: (With updated scripts)
$ cd /tmp
$ wget http://www.3iii.dk/linux/optware/v3install.HDsamba2
$ sh /tmp/v3install.HDsamba2-mini
after HDsamba2 must be space, like - HDsamba2 -mini
_________________
WRT600N V1.1 - 12672_mega_WRT610N
Amorphis
DD-WRT User


Joined: 08 Jan 2009
Posts: 234
Location: Toronto, Ontario

PostPosted: Sat Jan 31, 2009 21:46    Post subject: Reply with quote
Noted. thx.
_________________
WRT350N Eko Mega 11296 + HDsamba2 v4 beta
HockeyFan4Life
DD-WRT User


Joined: 03 Jan 2008
Posts: 230

PostPosted: Sat Jan 31, 2009 21:48    Post subject: Reply with quote
Can't seem to get this installed on a Wl-520Gu with a 40 gig HD with latest mini_usb_ftp.

TASK 2: Confirming JFFS is active....
VERIFIED: /jffs/etc/config
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 2176 2176 0 100% /
/dev/discs/disc0/part1
3179588 89120 2930224 3% /mnt
/dev/mtdblock/4 3179588 89120 2930224 3% /jffs
/dev/discs/disc0/part1
3179588 89120 2930224 3% /jffs
ERROR: not enough room on /jffs to finish script
ERROR: you may want to consider a smaller build...
TERMINATING SCRIPT IMMEDIATELY

_________________

Routers:
E2000 latest BIG
whr-g54s client vpn
wr850g lastest mini
Amorphis
DD-WRT User


Joined: 08 Jan 2009
Posts: 234
Location: Toronto, Ontario

PostPosted: Sat Jan 31, 2009 22:03    Post subject: Reply with quote
There may be an error in detecting how much /jffs there is.
Post the result of $ mount too please.

The attached install script fakes out the jffs check. If this is your only problem you're fine with this. There is a chance ofcourse that this is telling us something else is wrong with your config.

Unzip, copy the script to /tmp to run.

REMOVED, not applicable to your problem.

_________________
WRT350N Eko Mega 11296 + HDsamba2 v4 beta


Last edited by Amorphis on Sat Jan 31, 2009 22:08; edited 2 times in total
HockeyFan4Life
DD-WRT User


Joined: 03 Jan 2008
Posts: 230

PostPosted: Sat Jan 31, 2009 22:05    Post subject: Reply with quote
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro)
none on /dev type devfs (rw)
proc on /proc type proc (rw)
ramfs on /tmp type ramfs (rw)
/dev/discs/disc0/part1 on /mnt type ext3 (rw)
/dev/mtdblock/4 on /jffs type jffs2 (rw)
/dev/discs/disc0/part1 on /jffs type ext3 (rw)

_________________

Routers:
E2000 latest BIG
whr-g54s client vpn
wr850g lastest mini
Amorphis
DD-WRT User


Joined: 08 Jan 2009
Posts: 234
Location: Toronto, Ontario

PostPosted: Sat Jan 31, 2009 22:06    Post subject: Reply with quote
You have something #$%#ed up there.

Why is /jffs a ext3 partition?

You probably have automount enabled, or something messed up in the gui.

You shouldn't be mounting your hard drive to /jffs. Hence the error.

I would go back and read over the install process.

_________________
WRT350N Eko Mega 11296 + HDsamba2 v4 beta


Last edited by Amorphis on Sat Jan 31, 2009 22:08; edited 1 time in total
HockeyFan4Life
DD-WRT User


Joined: 03 Jan 2008
Posts: 230

PostPosted: Sat Jan 31, 2009 22:08    Post subject: Reply with quote
Amorphis wrote:
You have something #$%#ed up there.

Why is /jffs a ext3 partition?
Didn't think I would have enough space on the actual router itself.
_________________

Routers:
E2000 latest BIG
whr-g54s client vpn
wr850g lastest mini
Amorphis
DD-WRT User


Joined: 08 Jan 2009
Posts: 234
Location: Toronto, Ontario

PostPosted: Sat Jan 31, 2009 22:10    Post subject: Reply with quote
$ df

will tell you if you have enough

I appreciate you're trying to be inventive, but the whole point of the JFFS partition in a HDsamba setup, is you can use it to check drives BEFORE they are mounted. So you using a drive as JFFS kind of mucks things up a bit. Not to mention partition 1 is reserved for optware, and HDsamba files as per instructions.

Have a look over the install prerequisites. You're looking at modifying a signifigant amount of code to get your method to work... and you could potentially never detect HD problems.

_________________
WRT350N Eko Mega 11296 + HDsamba2 v4 beta
Amorphis
DD-WRT User


Joined: 08 Jan 2009
Posts: 234
Location: Toronto, Ontario

PostPosted: Sat Jan 31, 2009 22:16    Post subject: Reply with quote
Post result of $ df when you can.

If that's a 2mb flash router, I think there is little chance of success. I'm guess a 4mb flash router is the minimum for HDsamba2... but I may be wrong.

_________________
WRT350N Eko Mega 11296 + HDsamba2 v4 beta


Last edited by Amorphis on Sat Jan 31, 2009 22:20; edited 1 time in total
HockeyFan4Life
DD-WRT User


Joined: 03 Jan 2008
Posts: 230

PostPosted: Sat Jan 31, 2009 22:18    Post subject: Reply with quote
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 2176 2176 0 100% /
/dev/discs/disc0/part1
3179588 89120 2930224 3% /mnt
/dev/mtdblock/4 3179588 89120 2930224 3% /jffs
/dev/discs/disc0/part1
3179588 89120 2930224 3% /jffs
/dev/discs/disc0/part1
3179588 89120 2930224 3% /jffs


Maybe I need help getting the partitions right.

_________________

Routers:
E2000 latest BIG
whr-g54s client vpn
wr850g lastest mini
Amorphis
DD-WRT User


Joined: 08 Jan 2009
Posts: 234
Location: Toronto, Ontario

PostPosted: Sat Jan 31, 2009 22:21    Post subject: Reply with quote
You don't seem to be able to enable /jffs on your router.

It's 2mb of flash right? Important find the answer to this one!
If so I would suggest doing a search for slim-samba. Probably best option for you.

If not, you need to enable JFFS in the web gui. Try looking at the HDsamba2 wiki page, it's the first post in this thread.
Also, I would unmount your partitions as there are now before going forward.

_________________
WRT350N Eko Mega 11296 + HDsamba2 v4 beta
HockeyFan4Life
DD-WRT User


Joined: 03 Jan 2008
Posts: 230

PostPosted: Sat Jan 31, 2009 22:25    Post subject: Reply with quote
Amorphis wrote:
You don't seem to be able to enable /jffs on your router.

It's 2mb of flash right? Important find the answer to this one!
If so I would suggest doing a search for slim-samba. Probably best option for you.

If not, you need to enable JFFS in the web gui. Try looking at the HDsamba2 wiki page, it's the first post in this thread.
Also, I would unmount your partitions as there are now before going forward.
Nope it has 4 mb flash according to the WIKI.
_________________

Routers:
E2000 latest BIG
whr-g54s client vpn
wr850g lastest mini
Amorphis
DD-WRT User


Joined: 08 Jan 2009
Posts: 234
Location: Toronto, Ontario

PostPosted: Sat Jan 31, 2009 22:27    Post subject: Reply with quote
Then you just need to go through your webgui. But I would strongly suggest you unmount the drive and disconnect it for now. Configure your router as suggested if you intend to try HDsamba2. As of right now if appears you don't have /jffs enabled, and your HD is using it as a mount point.

If you have 4mb you're good. You just need to take a bit of time and set up the router first.

Good luck. Smile

_________________
WRT350N Eko Mega 11296 + HDsamba2 v4 beta
HockeyFan4Life
DD-WRT User


Joined: 03 Jan 2008
Posts: 230

PostPosted: Sat Jan 31, 2009 22:52    Post subject: Reply with quote
I'm using Gparted on my usb HD, but I don't think I am doing it right. Got any advise?
_________________

Routers:
E2000 latest BIG
whr-g54s client vpn
wr850g lastest mini
Goto page Previous  1, 2, 3, 4 ... 33, 34, 35  Next Display posts from previous:    Page 3 of 35
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