Thursday, November 15, 2012

PogoPlug Cheap NAS


I wrote previously about http://blog.thegiblins.com/2012/07/pogoplug-cheap-deal-and-hack.html , a good deal from Pogoplug.

I was really intersted in that there was a Sata port on the inside and it had a Gigabit Ethernet port.

I explored the options available to connect and power a sata drive. I eventually found a "NEON SSD/HDD Stand-alone Duplicator and Docking Station (USB2.0 - eSATA)" on MemoryC.com. Just under €32 and free shipping. What could possibly go wrong? It turns out to be a fairly good product, with USB and eSata ports plus external power. Fits 2.5 and 3.5 inch drives.

OK, so crack open the PogoPlug, easy. 

Warning: The power board is on the right of the picture. It has exposed 220V and this can kill. Be afraid. Be very afraid, and careful.

I ordered a Sata to eSata cable from eBay. I am probably going to have to drill a hole in the side of the case to allow the cable to fit properly and exit the case.

I plugged in the Sata side of the cable into the PogoPlug Sata port.

 Connected the eSata side of the cable to the Docking Station. I had an old 80Gb drive that I used for testing. Power the Docking Station on and then the PogoPlug.
 The happy marrige, PogoPlug meets Docking Station.
When I first turned it all on, it wouldn't boot. Feck I thought. Dr Google was no help.

I thought about it for a while and I thought that perhaps the Sata drives were being initialised first, becoming /dev/sda1. The system was configured to boot from a USB stick as /dev/sda1.

Test 1: Set-up to boot from Hard Disk /dev/sda1

I plugged the USB stick and Docking Station into my trusty Linux Laptop, identified the devices, which were /dev/sdb = Docking Station and /dev/sdc which was the USB drive.

I ran:

[root@wideboy ~]# dd bs=1M if=/dev/sdc of=/dev/sdb
7498+1 records in
7498+1 records out
7862353920 bytes (7.9 GB) copied, 506.336 s, 15.5 MB/s


Cool so far. I plugged out the Docking Station and back in again.

I then ran 'fdisk -l' and got

[snip]
Disk /dev/sdb: 80.0 GB, 80026361856 bytes, 156301488 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: 0xd9bd8d6f

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1              21     7827203     3913591+  83  Linux

So, I had an 80Gb disk with a tinchy partition. 

Time to crank up fdisk again.

[root@wideboy ~]# fdisk /dev/sdb
Welcome to fdisk (util-linux 2.22.1).

Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.


Command (m for help): p

Disk /dev/sdb: 80.0 GB, 80026361856 bytes, 156301488 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: 0xd9bd8d6f

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1              21     7827203     3913591+  83  Linux

Command (m for help): n
Partition type:
   p   primary (1 primary, 0 extended, 3 free)
   e   extended
Select (default p): p
Partition number (1-4, default 2):
Using default value 2
First sector (7827204-156301487, default 7827456):
Using default value 7827456
Last sector, +sectors or +size{K,M,G} (7827456-156301487, default 156301487):
Using default value 156301487
Partition 2 of type Linux and of size 70.8 GiB is set

Command (m for help): p

Disk /dev/sdb: 80.0 GB, 80026361856 bytes, 156301488 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: 0xd9bd8d6f

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1              21     7827203     3913591+  83  Linux
/dev/sdb2         7827456   156301487    74237016   83  Linux

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.


All good again.

Create the new file system:

 [root@wideboy ~]# mkfs.ext4 /dev/sdb2
mke2fs 1.42.5 (29-Jul-2012)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
4644864 inodes, 18559254 blocks
927962 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=4294967296
567 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
    32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
    4096000, 7962624, 11239424

Allocating group tables: done                          
Writing inode tables: done                          
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done   


I then mounted the partitions to check that everything looked OK. It did.

I then connected the Docking Station to the PogoPlug and powered everything on.

Note: the PogoPlug does not have the USB drive attached.

Low and behold, everything booted. The PogoPlug was booting from the eSata attached hard disk. Woo Hoo! Better then I had originally expected.

Test 2: Crack open a cold brew and blow the froth of it

Kick back and watch you favourite movie. You earned it

Love Linux. Love Arch Linux. Love Arch Linux Arm.

Low power computing. Save the world.

What will I use it for? I am going to try OwnCloud and see if it can run in 128Mb of ram. At least I should be able to run Samba and NFS on it.

29 comments:

  1. Be that as it may, similar to all IT hardware because of more prominent requests from new working frameworks and the requirement for more noteworthy limit there comes a period when they must be supplanted. visit the site

    ReplyDelete
  2. When searching the stores for a cheap NAS, you must decide the number of drives you need.data recovery uk

    ReplyDelete
  3. Besides, the majority of the product and equipment assets of the server are totally utilized by the customer's site.managed vps hosting service

    ReplyDelete
  4. Most Media Servers return with up programming that can be utilized to back up the PCs on your system. data recovery uk

    ReplyDelete
  5. Also, a normal exchange framework is planned to such an extent that, every exchange is totally confined from any exchanges happening in the database and in the meantime, the outcomes got from an exchange is required to agree to all limitations forced on the database. https://www.dbdesigner.net/

    ReplyDelete
  6. Data recovery is an exceedingly specific field that can take into account the vast majority of the data misfortune issues. UK data recovery

    ReplyDelete
  7. The virtual piece of the Virtual Private Server originates from the way that your server is just a piece of a bigger machine. managed dedicated servers

    ReplyDelete
  8. These organizations frequently work from little workplaces or, at times, private homes.UK data recovery

    ReplyDelete
  9. The level of this accuracy results in the way that the head get together of a hard drive is so finely tuned that any contact or task on it needs concentrated devices. The other part of hardware is similarly as sensitive and complex.data recovery services london

    ReplyDelete
  10. Shreeja Health Care is leading Manufacturer, exporter, supplier, and Wholesaler of Oil Extraction machine

    ReplyDelete
  11. The appropriate response is... I don't have the foggiest idea. Be that as it may, with the assistance of those savvy database specialists we can foresee what zones you are going https://www.dbdesigner.net to see the most change in (and in this way are the place you ought to watch):

    ReplyDelete
  12. Data misfortune can happen in unusual and puzzling ways and every datum misfortune episode can be not quite the same as one another. hard drive recovery data recovery services

    ReplyDelete
  13. Information misfortune is likewise generally the aftereffect of straightforward cancellation. Information can be erased unintentionally for various reasons. hard drive recovery data recovery services

    ReplyDelete
  14. very good article.thank you for sharing these content.
    Ever since our inception in 2009, we have been on an epic ride and paved our way to becoming the Ever since our inception in 2009, we have been on an epic ride and paved our way to becoming the Best IT Company In Surat.

    ReplyDelete
  15. This implies while a little organization may spare say $120 every year for every server that is solidified, a bigger venture activity could be sparing that number occasions a hundred, possibly sparing as much as $12,000 every year in power costs alone. Dedicated Server

    ReplyDelete
  16. We are a leading mobile app, website design & development company based in India provides custom digital web services for startups & enterprise businesses at affordable rates. Contact Us Now!

    best it company in surat

    ReplyDelete
  17. Superior post, keep up with this exceptional work. It's nice to know that this topic is being also covered on this web site so cheers for taking the time to discuss this! Thanks again and again! https://hostinglelo.in/

    ReplyDelete
  18. Yet, dissimilar to shared web facilitating, the virtual dividing of VPS facilitating implies that every site being facilitated at a specific VPS has its very own universe.https://onohosting.com/

    ReplyDelete
  19. Now you can view the companies past reviews from previous transactions and you can view their work. Cheap web design

    ReplyDelete
  20. DIYAM Impex Our Company DIYAM IMPEX. We have gone from strength to strength over the years, having expanded from our core business of diamond manufacturing to Real Estate, Renewable Energy and Venture Capital. Diamond has its many utility and its industrial value is enhanced by our effective services. We now focus exclusively on CVD diamonds Manufacturer In Surat. DIYAM IMPEX has grown to become a globally trusted and respected player in the diamond industry over the last five decades. Our expertise lies in our ability to produce a consistent supply of quality polished diamonds in all shapes and sizes.

    ReplyDelete

  21. Candela GentleLASE medical grade laser applies precise, controlled pulses of laser. Laser Tech energy that reach down the hair shaft into the follicle underneath the skin, cauterizing the hair at its root. the encompassing tissue or skin isn’t damaged. The laser’s gentle beam of sunshine damages and consequently prevents the follicle from growing.

    ReplyDelete
  22. Thank you because you have been willing to share information with us. we will always appreciate all you have done here because I know you are very concerned with our. Black satta king

    ReplyDelete
  23. Great job for publishing such a beneficial web site. Your web log isn’t only useful but it is additionally really creative too. Disawar satta result

    ReplyDelete
  24. Keytexmachines is leading vmc machine job work India With Excellent Quality, Cost Effective Price & Prompt Delivery. CNC Machining Job Work, CNC Turning Job Work, CNC Machine Service offered by Keytex machines, Surat.

    ReplyDelete

  25. Digital Marketing Agency In Surat provides various features like Unlimited Messages sending, Multi-multimedia message sending, Numbers Filters, Groups Contacts Grabber, Anti Block Module, Sleep Control, Speed control, delay control etc. with In built Google Map Extractor And Just Dial Extractor.
    ➡ Our Services:
    ✅ Website Design & Development
    ✅ Software Development
    ✅ Mobile App Development
    ✅ CRM / ERP Development
    ✅ Digital Marketing
    ✅ SEO / SEM / SMM / ASO
    ✅ Paid Promotion
    ✅ Graphics & Design
    ☎ +91 99132 99806 | +91 99132 99862

    ReplyDelete
  26. Why you need a virtual office in 2021?
    Why do I need a virtual office? With the unpredictability of what 2021 may bring, a virtual office provides you with business options and space, whereas previously, the options would have involved investing in a long-term, costly commercial lease. By utilizing a virtual office service, your business has options.

    Visit Here

    ReplyDelete
  27. Bulk WhatsApp marketing can be a game-changer for businesses looking to connect with their audience on a personal level. The power of reaching a large number of potential customers through this platform cannot be underestimated. It allows for direct communication and engagement, which is key in today's digital age.

    ReplyDelete
  28. Excellent post. I really enjoy reading and also appreciate your work.Commercial Lease This concept is a good way to enhance knowledge. Keep sharing this kind of articles, Thank you.

    ReplyDelete