Quote:
Originally Posted by brianinmaine
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.