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.

41 comments:

  1. So did you get owncloud to work on it?

    ReplyDelete
    Replies
    1. IEEE Final Year Project centers make amazing deep learning final year projects ideas for final year students Final Year Projects for CSE to training and develop their deep learning experience and talents.

      IEEE Final Year projects Project Centers in India are consistently sought after. Final Year Students Projects take a shot at them to improve their aptitudes, while specialists like the enjoyment in interfering with innovation.

      corporate training in chennai corporate training in chennai

      corporate training companies in india corporate training companies in india

      corporate training companies in chennai corporate training companies in chennai

      I have read your blog its very attractive and impressive. I like it your blog. Digital Marketing Company in Chennai

      Delete
  2. 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
  3. When searching the stores for a cheap NAS, you must decide the number of drives you need.data recovery uk

    ReplyDelete
  4. 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
  5. Most Media Servers return with up programming that can be utilized to back up the PCs on your system. data recovery uk

    ReplyDelete
  6. 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
  7. Data recovery is an exceedingly specific field that can take into account the vast majority of the data misfortune issues. UK data recovery

    ReplyDelete
  8. 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
  9. These organizations frequently work from little workplaces or, at times, private homes.UK data recovery

    ReplyDelete
  10. 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
  11. UNIVERSAL INSTITUTE OF DESIGN – UID SURAT is providing Best Interior Designing Course in Surat Universal Institute of Design is providing B.Sc, Diploma and Degree College Classes in Interior Desinging Course.

    ReplyDelete
  12. Laxmi pipe industries is leading Steel Pipe Manufacturer In India. we manufacture and supply various shape pipes like eye shape, grooved pipes etc.

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

    ReplyDelete
  14. 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
  15. 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
  16. 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
  17. 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
  18. Jalaram Furniture offers huge selection of fabric to leather, classic to modern wide selection of living room sofas to suit your taste and style. Shop now!

    ReplyDelete
  19. Jalaram furniture is the best furniture showroom in gujarat.Shop online now!

    ReplyDelete
  20. 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
  21. 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
  22. 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
  23. 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
  24. Now you can view the companies past reviews from previous transactions and you can view their work. Cheap web design

    ReplyDelete
  25. We SVJ Technocoat are the leading Service Provider and Exporter of an extensive array of PVD Coating In Surat Service and Vapor Deposition Coating Service etc. We are a well known firm for providing excellent quality coating services across the nation and in a timely manner. Owing to our improvised business models, our professionals are offering integrated solutions for our clients.

    ReplyDelete
  26. 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

  27. 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
  28. FAB VOGUE STUDIO provide all kind of Fabric which can be use for Making any designer apparel. kota doria fabric We guarantee you’ll love working with us. Design Customization Available. Wholesale price available on request. Quality Assurance. COD Available.

    ReplyDelete
  29. RQC is one of the Best Best hair transplant clinic in surat, with services, including Hair Transplant, Hair Treatment, Hairfall and Hair Loss, dermatology, and Skincare. RQC brings you the best services in hair transplant, Hair Treatment.

    ReplyDelete
  30. 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
  31. 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
  32. UID Fashion Designing Institutes in Surat is one of the Leading fashion institute in surat. professional fashion designing course in India is in demand these day by day, what can be best than pursuing fashion designing course from the fashion capital of India itself. Yes,UID fashion designing course in surat are talking about the city of surat, where you can have ample select when it comes to fashion design.

    ReplyDelete
  33. 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

  34. 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
  35. 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
  36. We are grateful to you for assisting us by giving the information regarding the project that you had. Your efforts allowed us to better understand the consumer while while saving us time. Does your business need a Bulk WhatsApp Sender service? Is it becoming hard for your business to meet your targeted audience? Absolutely, yes, or you may be looking to be advanced in the market! You have come to the right place to have the service for your business. GetItSMS lets you meet your potential customers by providing you with the best WhatsApp bulk SMS service in India. You can take the service for any purpose to approach your potential customers.

    ReplyDelete