There might be another solution. Create the partitions 1,5-10 as usual, but omit partition 2. This will fill only the first 2GiB of the disk. If the bootloader isn't confused by the disksize, but succeeds in finding and loading the kernel, change some startscript. Instead of mounting sda2 as data partition, create a loop device:
Code: Select all
losetup -o 2147483648 /dev/loop0 /dev/sda
Now mount /dev/loop0 as data partition. Of course the offset must be big enough to bridge the OS partitions, and be a multiple of 512. (4096 in case of an 'advanced format' disk)
That might be a good idea.
Will this have a big impact on performance?
And i should be able to access the full 3TB with this method?
Also, do you know a guide to setup this loop device, since i don't know what offset to use, etc.
And what does the 2147483648 stand for in the losetup -o [edit: ah this will be the offset, how can i calculate this?]
I do have the 4096 advanced disk format.
And creating partitions 1,5-10, shall i make this with fdisk as usual, with
this guide.
thanks for this tip Mijzelf, but our partition structure deviates from Lacie standard
In our case the data partition is partition 8.
Number 1 to 7 are system partitions and rather small and your suggestion is interesting, unfortunate I can not test it as I don't have a 3 TB disk
ps the bootloader expect an ms-dos partition table so a problem will arise when defining partition 4, that must an extended one covering the remainder of the disk..and then you have the max blocks issue again.
I think that mijzelf is referring to the original partition structure.
I don't care if i am using the original lacie firmware, or the custom nwsp2 firmware.
As long as i can get it working, i'll be happy :)
But is there any change that we can pull the uboot from the lite?
Maybe with JTAG?