View Single Post
Old 04-11-2013, 08:12 AM   #12
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by brianinmaine View Post
this is just some added info on the nbd stuff:
My (Debian laptop) Server:
# apt-get install nbd-server

create a 128M file to be made into a filesystem later on
# dd if=/dev/zero of=/home/user/nbd_file bs=1024 count=128000
- - - - -
You only need the first 16 sectors and the last 16 sectors zeroed.
The ext2/3/4 handles the hole gracefully.

You can get by with writing even smaller first and last "tracks" if not using LVM2 and/or encrypted disks.

PS: Thanks for the post. It should answer the question asked earlier of how a person could mount their 2Tbyte drive on the Kindle.

PS2: Note: swap will run on top of the NBD driver - set up a remote swap device/partition/file (any type in other words) for the Kindle to use as swap and then enable swapping on the Kindle.
Get rid of a lot of those "out of memory" problems.

Last edited by knc1; 04-11-2013 at 08:20 AM.
knc1 is offline   Reply With Quote