Ok, I have tried harder:

I have found out how the /dev/mapper directory can be created.
I cannot create an ext3 partition with the partition manager.
I am verbose as always, hopefully this is ok.

# modprobe dm-mod
# ls /dev/mapper
control
# dmraid -ay
# ls /dev/mapper
control
isw_ddeheebhbf_Volume01
isw_ddeheebhbf_Volume06
isw_ddeheebhbf_Volume0
isw_ddeheebhbf_Volume05

I wondered which device I had to use.
Someone suggested to use dmraid -s:
# dmraid -s
*** Group superset isw_ddeheebhbf
--> Active Subset
name   : isw_ddeheebhbf_Volume0
size   : 976783872
stride : 256
type   : stripe
status : 0
subsets: 0
devs   : 2
spares : 0

I have given a stripe size of 128 kB (default for RAID 0).
Another suggestion was to use fdisk -l:
# fdisk -l /dev/mapper/isw_ddeheebhbf_Volume0

Disk /dev/mapper/isw_ddeheebhbf_Volume0: 500.1 GB, 500113342464 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes


d System                      Device Boot Start   End    Blocks  Id System
/dev/mapper/isw_ddeheebhbf_Volume0p1   *      1 19122 153597433+  7 HPFS/NTFS
/dev/mapper/isw_ddeheebhbf_Volume0p2   *  19123 60800 334778535   f W95 Ext'd 
(LBA)
/dev/mapper/isw_ddeheebhbf_Volume0p5   *  19123 21672  20482843+  7 HPFS/NTFS
/dev/mapper/isw_ddeheebhbf_Volume0p6   *  21673 25497  30720000+  7 HPFS/NTFS

I double check that with parted to reduce the risk of data loss:
# parted /dev/mapper/isw_ddeheebhbf_Volume0
GNU Parted 1.7.1
Using /dev/mapper/isw_ddeheebhbf_Volume0
...
(parted) print

Disk /dev/mapper/isw_ddeheebhbf_Volume0: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start  End   Size   Type    File system Flags
1      32.3kB 157GB 157GB  primary ntfs        boot
2      157GB  500GB 343GB  extended            lba
5      157GB  178GB 21.0GB logical ntfs
6      178GB  210GB 31.5GB logical ntfs

The stride size is wrong, but fdisk and parted show correct partition sizes.
I move on.

# exit
Partition manager: manually
create partitions on /dev/mapper/isw_ddeheebhbf_Volume0:
logical swap 2 GB
logical ext3 157.3 GB (mount option: noatime, "linux", reserved 0%)
Partition disks:
swap partition: ok
ext3 partition: Failed to create a file system
The ext3 file system creation in partition #8 of LVM VG isw_ddeheebhbf_Volume0, 
LV isw_ddeheebhbf_Volume0 failed.
-> Shell
# parted /dev/mapper/isw_ddeheebhbf_Volume0
...
7  210GB 212GB 1999MB logical linux-swap
8  212GB 369GB 157GB  logical ext2
The new partitions are there, but not mapped:
# ls /dev/mapper
control
isw_ddeheebhbf_Volume01
isw_ddeheebhbf_Volume06
isw_ddeheebhbf_Volume0
isw_ddeheebhbf_Volume05

I had to
# dmraid -an
# dmraid -ay

# ls /dev/mapper
control
isw_ddeheebhbf_Volume0
isw_ddeheebhbf_Volume01
isw_ddeheebhbf_Volume05
isw_ddeheebhbf_Volume06
isw_ddeheebhbf_Volume07
isw_ddeheebhbf_Volume08

# exit

Now I try again to use the partition manager:

Creating ext3 file system for / in partition #8 of LVM VG
isw_ddeheebhbf_Volume0, LV isw_ddeheebhbf_Volume0...

Failed to create a file system
The ext3 file system creation in partition #8 of LVM VG isw_ddeheebhbf_Volume0, 
LV isw_ddeheebhbf_Volume0 failed.

But a filesystem has been created (mount: lost+found directory).
-> Shell
# tune2fs -l /dev/mapper/isw_ddeheebhbf_Volume08
...
Filesystem volume name:  <none> (*** set label to "linux")
Last mounted on:         <not available>
Filesystem UUID:         d65c48c9-6f01-4458-a978-c59221931e92
Filesystem magic number: 0xEF53
Filesystem revision #:   1 (dynamic)
Filesystem features:     filetype sparse_super
Default mount options:   (none)
Filesystem state:        clean
Inode count:             19202048
Block count:             38403374
Reserved block count:    1920168  (*** set to 0% in part manager)
...
Block size:              4096
Fragment size:           4096
Last mount time:         Wed Dec 20 12:02:48 2006
Last write time:         Wed Dec 20 12:02:53 2006
Mount count:             1
Maximum mount count:     30
...
Check interval:          0 (<none>)

# tune2fs -r 0 /dev/mapper/isw_ddeheebhbf_Volume08
# tune2fs -l /dev/mapper/isw_ddeheebhbf_Volume08
Reserved block count:    0

The partition manager application does not work correctly.

How can I move on with the installion?

-- 
DMRAID stopped to work in kernels > 2.6.15
https://launchpad.net/bugs/54246

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to