Setup-storage use space between partitions

Steven Wend swend at stud.hs-bremen.de
Fri May 3 12:41:02 CEST 2013


> On Fri, May 03, 2013 at 11:39:01AM +0200, Steven Wend wrote:
>> Hello Steffen,
>>
>> thanks for your answer. First I had to update my "picture":
>> -------------------------------------------------
>> | 1. NTFS part | 2. NTFS part  |  3. NTFS part  |
>> |    PRIMARY   |    PRIMARY    |    PRIMARY     |
>> -------------------------------------------------
>>
>> The initial table of fstab is:
>> -----------
>> Disk /dev/sda: 171.8 GB, 171798691840 bytes
>> 255 heads, 63 sectors/track, 20886 cylinders, total 335544320 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: 0xaad98181
>>
>>    Device Boot      Start         End      Blocks   Id  System
>> /dev/sda1            2048   268437503   134217728    7  HPFS/NTFS/exFAT
>> /dev/sda2       268437504   334899199    33230848    7  HPFS/NTFS/exFAT
>> /dev/sda3   *   334899200   335513599      307200    7  HPFS/NTFS/exFAT
>> -----------
>
> Okay, so you got it the other way 'round - with three _primary_
> partitions.
> Wouldn't that require that you list them in your disk_config as such
> then, not "logical"?
>
> S
>

Hello Steffen,

yes good idea. So I tried this configuration:
------------
disk_config disk1 preserve_always:1,3 disklabel:msdos fstabkey:uuid

primary  -  0  -  -
primary /      16000    ext3  rw,noatime,errors=remount-ro
primary  -  0  -  -
logical swap   4000 swap  rw
logical /home  1000  ext3  rw,noatime,nosuid,nodev createopts="-L home -m
1" tuneopts="-c 0 -i 0"
------------

The error I started with is gone but now it is said that there is not
enough space to create the logical volumes.



More information about the linux-fai mailing list