[Goflex Home 3TB] Newbie help

Original Pogoplug, v2 Pink/Gray E02, Series 4, DockStar, and GoFlex installation and device help here.

Re: [Goflex Home 3TB] Newbie help

Postby dannyp » Mon Mar 19, 2012 9:04 am

@moonman, thanks for the info, really appreciate it. :D

I will have a go once I get home tonight and let you know if all ok.

Just something to think about with the last step of this project of mine is to have Samba & Mysql installed and running. :!:
Goflex Home 3TB Alarm
- SAMBA, MYSQL, SICKBEARD, COUCHPOTATO, HEADPHONES, WEBMIN, SABNZBD.

Goflex Home 2TB Alarm
- SAMBA, SUBSONIC, WEBMIN.

Raspberry PI Model B 512K
- RASPBMC
dannyp
 
Posts: 36
Joined: Wed Mar 14, 2012 8:45 am
Location: UK

Re: [Goflex Home 3TB] Newbie help

Postby tomcheng76 » Mon Mar 19, 2012 9:57 am

dannyp wrote:@moonman, thanks for the info, really appreciate it. :D

I will have a go once I get home tonight and let you know if all ok.

Just something to think about with the last step of this project of mine is to have Samba & Mysql installed and running. :!:


Samba is okay.
Better turn off INNODB, use MYISAM, google search low memory mysql configuration, you will need that.
Also check out Samba/MySQL tutorial in ArchWiki, they are the same in ARM.
tomcheng76
 
Posts: 68
Joined: Mon Dec 13, 2010 11:24 am

Re: [Goflex Home 3TB] Newbie help

Postby moonman » Mon Mar 19, 2012 5:42 pm

Samba is easy to install and configure if you follow the guide on archlinuxarm, here they put together all optimized settings in the guide (archlinux has a more thorough guide which will take more time to figure out). http://archlinuxarm.org/support/guides/ ... ions/samba

as for mysql, tomcheng has a good point regarding the storage engines, though keep in mind mysql will be pretty slow, especially with 128MB of ram. https://wiki.archlinux.org/index.php/MySQL
PogoPlug v2 Pink | Seagate GoFlex Home | Raspberry Pi B 512
----------------------------------------------------------------------------------------------------------------------
[armv5] How to update U-Boot for kernel v3.2 and newer | [armv5] How to reinstall ALARM from scratch | [armv5] How to install my.pogoplug.com service
moonman
Developer
 
Posts: 1402
Joined: Sat Jan 15, 2011 3:36 am
Location: Canada

Re: [Goflex Home 3TB] Newbie help

Postby dannyp » Mon Mar 19, 2012 10:12 pm

@ moonman, I have tried as you suggested and did the following...

tune2fs -L "main" /dev/sda2
pacman -S udev-automount

I have then rebooted the system but the output of 'df -h' is still as before....

login as: root
root@192.168.1.20's password:
Last login: Mon Mar 19 21:24:51 2012 from danny.home
[root@alarm ~]# df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 20G 1.8G 17G 10% /
/dev/root 20G 1.8G 17G 10% /
devtmpfs 61M 0 61M 0% /dev
run 61M 148K 61M 1% /run
shm 61M 0 61M 0% /dev/shm
tmpfs 61M 0 61M 0% /tmp

is there a config file I also need to adjust or have I done someting wrong?? :(
Goflex Home 3TB Alarm
- SAMBA, MYSQL, SICKBEARD, COUCHPOTATO, HEADPHONES, WEBMIN, SABNZBD.

Goflex Home 2TB Alarm
- SAMBA, SUBSONIC, WEBMIN.

Raspberry PI Model B 512K
- RASPBMC
dannyp
 
Posts: 36
Joined: Wed Mar 14, 2012 8:45 am
Location: UK

Re: [Goflex Home 3TB] Newbie help

Postby moonman » Mon Mar 19, 2012 11:07 pm

You can adjust the fstab if you want and add your disk partition there. But I think if autmounting doesn't work, then fstab wouldn't work as well. Also, did you do a full system upgrade with "pacman -Suy" ?

What's the output of
Code: Select all
fdisk -l

Code: Select all
gdisk -l /dev/sda

Code: Select all
dmesg | grep sd


Make sure to wrap the output in code tags when you post.
PogoPlug v2 Pink | Seagate GoFlex Home | Raspberry Pi B 512
----------------------------------------------------------------------------------------------------------------------
[armv5] How to update U-Boot for kernel v3.2 and newer | [armv5] How to reinstall ALARM from scratch | [armv5] How to install my.pogoplug.com service
moonman
Developer
 
Posts: 1402
Joined: Sat Jan 15, 2011 3:36 am
Location: Canada

Re: [Goflex Home 3TB] Newbie help

Postby dannyp » Mon Mar 19, 2012 11:31 pm

fdisk -l
Code: Select all
[root@alarm ~]# fdisk -l

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sda: 3000.6 GB, 3000592982016 bytes
255 heads, 63 sectors/track, 364801 cylinders, total 5860533168 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: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048    41945087    20971520   83  Linux
/dev/sda4               1        2047        1023+  ee  GPT

Partition table entries are not in disk order


gdisk -l /dev/sda
Code: Select all
[root@alarm ~]# gdisk -l /dev/sda
GPT fdisk (gdisk) version 0.8.2

Partition table scan:
  MBR: hybrid
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with hybrid MBR; using GPT.
Disk /dev/sda: 5860533168 sectors, 2.7 TiB
Logical sector size: 512 bytes
Disk identifier (GUID): 709390A1-C9CE-4C4D-AE66-B17583A50FD1
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 5860533134
Partitions will be aligned on 2048-sector boundaries
Total free space is 2014 sectors (1007.0 KiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048        41945087   20.0 GiB    8300  Linux/Windows data
   2        41945088      5860533134   2.7 TiB     8300  Linux/Windows data


and lastly....
Code: Select all
[root@alarm ~]# dmesg | grep sd
[    0.000000] Kernel command line: console=ttyS0,115200 mtdparts=orion_nand:1M(u-boot),6M(uImage),-(root) root=/dev/sda1 netconsole=@10.10.10.6/eth0,@10.10.10.4/
[   20.200649] sdhci: Secure Digital Host Controller Interface driver
[   20.200659] sdhci: Copyright(c) Pierre Ossman
[   20.200728] sdhci-pltfm: SDHCI platform and OF driver helper
[   20.669833] sd 0:0:0:0: [sda] 5860533168 512-byte logical blocks: (3.00 TB/2.72 TiB)
[   20.670087] sd 0:0:0:0: [sda] Write Protect is off
[   20.670102] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[   20.670212] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   20.670835] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   20.696818]  sda: sda1 sda2
[   20.697986] sd 0:0:0:0: [sda] Attached SCSI disk
[   21.883193] EXT2-fs (sda1): warning: mounting unchecked fs, running e2fsck is recommended
[   23.987448] EXT2-fs (sda1): warning: mounting unchecked fs, running e2fsck is recommended
[   24.047262] EXT4-fs (sda2): Unrecognized mount option "defauly" or missing value
[root@alarm ~]#


does that help with the problem solving??
Goflex Home 3TB Alarm
- SAMBA, MYSQL, SICKBEARD, COUCHPOTATO, HEADPHONES, WEBMIN, SABNZBD.

Goflex Home 2TB Alarm
- SAMBA, SUBSONIC, WEBMIN.

Raspberry PI Model B 512K
- RASPBMC
dannyp
 
Posts: 36
Joined: Wed Mar 14, 2012 8:45 am
Location: UK

Re: [Goflex Home 3TB] Newbie help

Postby WarheadsSE » Mon Mar 19, 2012 11:39 pm

Where is it getting "defauly" as a mount option?
OXNAS pwner

Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 3529
Joined: Mon Oct 18, 2010 2:12 pm

Re: [Goflex Home 3TB] Newbie help

Postby dannyp » Mon Mar 19, 2012 11:42 pm

I don't know, that is what the output is saying??
Goflex Home 3TB Alarm
- SAMBA, MYSQL, SICKBEARD, COUCHPOTATO, HEADPHONES, WEBMIN, SABNZBD.

Goflex Home 2TB Alarm
- SAMBA, SUBSONIC, WEBMIN.

Raspberry PI Model B 512K
- RASPBMC
dannyp
 
Posts: 36
Joined: Wed Mar 14, 2012 8:45 am
Location: UK

Re: [Goflex Home 3TB] Newbie help

Postby dannyp » Mon Mar 19, 2012 11:49 pm

Ok, maybe not the right way but got it working. I did the folllowing......

Code: Select all
cd /media
mkdir main


I then edited fstab and added

Code: Select all
/dev/sda2       /media/main     ext4    defaults        0       0


Did reboot and df-h now says
Code: Select all
[root@alarm ~]# df -h
Filesystem      Size  Used Avail Use% Mounted on
rootfs           20G  1.7G   18G   9% /
/dev/root        20G  1.7G   18G   9% /
devtmpfs         61M     0   61M   0% /dev
run              61M  148K   61M   1% /run
shm              61M     0   61M   0% /dev/shm
/dev/sda2       2.7T  202M  2.6T   1% /media/main
tmpfs            61M     0   61M   0% /tmp
Goflex Home 3TB Alarm
- SAMBA, MYSQL, SICKBEARD, COUCHPOTATO, HEADPHONES, WEBMIN, SABNZBD.

Goflex Home 2TB Alarm
- SAMBA, SUBSONIC, WEBMIN.

Raspberry PI Model B 512K
- RASPBMC
dannyp
 
Posts: 36
Joined: Wed Mar 14, 2012 8:45 am
Location: UK

Re: [Goflex Home 3TB] Newbie help

Postby moonman » Tue Mar 20, 2012 1:04 am

That is interesting... where did "defauly" option come from? Did you do full upgrade as I suggested? Maybe there's some incompatibility between old and new packages.

fstab is a good solution if you won't need to dynamically mount and unmount usb flash drives/hdds later on.
PogoPlug v2 Pink | Seagate GoFlex Home | Raspberry Pi B 512
----------------------------------------------------------------------------------------------------------------------
[armv5] How to update U-Boot for kernel v3.2 and newer | [armv5] How to reinstall ALARM from scratch | [armv5] How to install my.pogoplug.com service
moonman
Developer
 
Posts: 1402
Joined: Sat Jan 15, 2011 3:36 am
Location: Canada

PreviousNext

Return to Pogoplug v1/v2/v4, DockStar, GoFlex

Who is online

Users browsing this forum: No registered users and 4 guests