[Resolved] Goflex Home Successful Install: Now what?

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

Re: Goflex Home Successful Install: Now what?

Postby Oogbored » Tue Dec 04, 2012 1:29 am

Thanks, that explains that error, this is where I am now.

-- Logs begin at Mon, 2012-12-03 07:27:39 CST, end at Mon, 2012-12-03 01:37:28 CST. --
Dec 03 19:10:50 alarm minidlna[319]: [2012/12/03 19:10:50] minidlna.c:475: error: Media directory "/home/user/Pictures" not accessible! [No such file or directory]
Dec 03 19:10:50 alarm minidlna[319]: [2012/12/03 19:10:50] minidlna.c:475: error: Media directory "/home/user/Videos" not accessible! [No such file or directory]
Dec 03 19:10:50 alarm minidlna[319]: [2012/12/03 19:10:50] minidlna.c:475: error: Media directory "/home/user/Music # Mounted Media_Collection drive directories" not accessible!
Dec 03 19:10:50 alarm minidlna[319]: [2012/12/03 19:10:50] minidlna.c:475: error: Media directory "/home/user/Pictures # Use A, P, and V to restrict media 'type' in directory" not a
Dec 03 19:10:50 alarm minidlna[319]: [2012/12/03 19:10:50] minidlna.c:475: error: Media directory "/home/user/Videos" not accessible! [No such file or directory]
Dec 03 19:10:50 alarm minidlna[319]: [2012/12/03 19:10:50] utils.c:261: warn: make_dir: cannot create directory '/var/cache/minidlna # MiniDLNA Media_DB dir needs to be un-comm
Dec 03 19:10:50 alarm minidlna[319]: [2012/12/03 19:10:50] minidlna.c:530: fatal: Database path not accessible! [/var/cache/minidlna # MiniDLNA Media_DB dir needs to be un-comm
Dec 03 19:10:50 alarm systemd[1]: minidlna.service: control process exited, code=exited status=255
Dec 03 19:10:51 alarm systemd[1]: Failed to start minidlna server.
Dec 03 19:10:51 alarm systemd[1]: Unit minidlna.service entered failed state
Oogbored
 
Posts: 68
Joined: Mon Dec 03, 2012 7:55 pm

Re: Goflex Home Successful Install: Now what?

Postby Oogbored » Tue Dec 04, 2012 2:30 am

I've moved beyond the last error series, I think. I literally do not know what I am doing here. All I'm looking for at this point is for my computer to detect it as a nice friendly drive I can write and read from, instead of just an amorphous object sitting out there on my network. Do I need to format to ntsf? If so how? I'm getting to the point where I'm going to go back to stock firmware and just deal with not being able to use half my stuff instead of none of it.
Oogbored
 
Posts: 68
Joined: Mon Dec 03, 2012 7:55 pm

Re: Goflex Home Successful Install: Now what?

Postby moonman » Tue Dec 04, 2012 2:47 am

you need samba to be able to write to the drive. I can help you set it up, but seeing that you have a 3tb drive bring other problems. Your drives capacity is not fully recognised so you will have to do a lot more work to get it going. if you are up for the task, then expect to be fiddling with it for several days as you will have to learn things. If not, just revert to stock.

do find out what the capacity is run these commands and post back:

$this->bbcode_second_pass_code('', 'fdisk -l')
$this->bbcode_second_pass_code('', 'df -h')
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Goflex Home Successful Install: Now what?

Postby Oogbored » Tue Dec 04, 2012 3:05 am

Disk /dev/mtdblock0: 1 MB, 1048576 bytes, 2048 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 /dev/mtdblock1: 6 MB, 6291456 bytes, 12288 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 /dev/mtdblock2: 261 MB, 261095424 bytes, 509952 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 /dev/sda: 3000.6 GB, 3000592982016 bytes, 5860533168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
/dev/sda1 63 39086144 19543041 83 Linux
Partition 1 does not start on physical sector boundary.
/dev/sda2 39086145 4294961684 2127937770 83 Linux
Partition 2 does not start on physical sector boundary.

[root@alarm ~]# df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 19G 867M 17G 5% /
/dev/sda1 19G 867M 17G 5% /
devtmpfs 59M 0 59M 0% /dev
tmpfs 61M 0 61M 0% /dev/shm
tmpfs 61M 264K 60M 1% /run
tmpfs 61M 0 61M 0% /sys/fs/cgroup
tmpfs 61M 0 61M 0% /tmp

The reason I decided to try and switch to Arch Linux|ARM is from what I read, and the nice tutorial I found, I believed I could make the device function as it promised it would when I bought it. Just replace the defective operating system, which would only show certain things to various media players, with one that works. I followed the tutorial, and that's as far as I was able to get on my own. From there I've fallen into the bottom of the Linux Mariana Trench and I broke my shins on impact. I'm not opposed to learning Samba, but I am the most technically advanced person in the house, and if I'm struggling with even configuring the slightest of things to get this to work. Anyone else who gets a hold of it will either have their eyes glaze over, or break something. Is there anything else I can do. Another operating system I can jump to from where I am. Open Nas perhaps...just something that will function naturally with windows as a dumb box I can throw things on; and been seen by media players?
Oogbored
 
Posts: 68
Joined: Mon Dec 03, 2012 7:55 pm

Re: Goflex Home Successful Install: Now what?

Postby Socaltom » Tue Dec 04, 2012 4:08 am

Start by installing webmin
It's a great tool to help setup. Samba and perform many other tasks.
Install samba per the wiki, the go through webmin to create a share using swat.
You will want to read the documentation but jus use " share security"
Tom
used to be owned by me
Pink Pogo V2, Black Pogo V3, Zyxel NAS 325 v1,
used to be Adminstrator for
Goflex net, Black V3, Black V2
Now I have a couple of raspberry pi ( 3+ and 4)
Socaltom
 
Posts: 571
Joined: Thu Apr 07, 2011 2:21 pm
Location: The left side

Re: Goflex Home Successful Install: Now what?

Postby moonman » Tue Dec 04, 2012 4:39 am

Format the second partition on the disk

$this->bbcode_second_pass_code('', 'mkfs.ext4 /dev/sda2')

Make it auto mount:
$this->bbcode_second_pass_code('', 'pacman -Sy udevil
systemctl enable devmon@root.service
systemctl start devmon@root.service')

Setup samba:

Install it:
$this->bbcode_second_pass_code('', 'pacman -Sy samba avahi')

create a config for it:
$this->bbcode_second_pass_code('', 'nano /etc/samba/smb.conf')

Paste the following into it:
$this->bbcode_second_pass_code('', '[global]
workgroup = WORKGROUP
server string = alarm
netbios name = alarm
security = share
load printers = yes
printing = bsd
printcap name = /dev/null
disable spools = yes
log file = /var/log/samba/%m.log
max log size = 50
dns proxy = no
# max protocol = SMB2
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=131072 SO_SNDBUF=131072 SO_KEEPALIVE

[media]
path = /media/
read only = no
public = yes
writable = yes
force user = root')

CTRL +X and answer Y to save

now activate and start samba:
$this->bbcode_second_pass_code('', 'systemctl enable smbd.service
systemctl start smbd.service
systemctl enable nmbd.service
systemctl start nmbd.service')
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Goflex Home Successful Install: Now what?

Postby Oogbored » Tue Dec 04, 2012 5:34 am

Thank you very much moonman, all steps completed without a hitch. Going to see what webmin can do for me, see if I can't get Samba running on this machine. Will continue to report in. Please feel free to leave anymore advice that you can.
Oogbored
 
Posts: 68
Joined: Mon Dec 03, 2012 7:55 pm

Re: Goflex Home Successful Install: Now what?

Postby moonman » Tue Dec 04, 2012 5:56 am

samba is just windows protocol for windows shares. you should be able to access samba share with "\\<goflex ip>" from a windows machine. But the question still remains whether you have full capacity availble on the second partition. Now that you formated it and mounted run df -h again.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Goflex Home Successful Install: Now what?

Postby Oogbored » Tue Dec 04, 2012 6:05 am

Alright that gives me:
Filesystem Size Used Avail Use% Mounted on
rootfs 19G 1019M 17G 6% /
/dev/sda1 19G 1019M 17G 6% /
devtmpfs 59M 0 59M 0% /dev
tmpfs 61M 0 61M 0% /dev/shm
tmpfs 61M 272K 60M 1% /run
tmpfs 61M 0 61M 0% /sys/fs/cgroup
tmpfs 61M 0 61M 0% /tmp
Oogbored
 
Posts: 68
Joined: Mon Dec 03, 2012 7:55 pm

Re: Goflex Home Successful Install: Now what?

Postby moonman » Tue Dec 04, 2012 6:22 am

Hmm, it still isn't mounted. You may have to reboot for it to be mounted and run the command again.
Alternatively instead of automounting:

$this->bbcode_second_pass_code('', 'mkdir /media/Storage
nano /etc/fstab')

and add this to the bottom of the file:

$this->bbcode_second_pass_code('', '/dev/sda2 /media/Storage ext4 noatime,data=ordered 0 2')

and run
$this->bbcode_second_pass_code('', 'mount -a')

/dev/sda2 has to show up when you run df -h

Did you get samba figured out? Can you access it from your computer?
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

PreviousNext

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 20 guests