Package: fai-client
Version: 3.2.17~lenny1
Severity: wishlist

In the below sample setup-storage tells it preserves sda5 to
sda8. In the disk_config I specified

disk_config disk1      preserve_reinstall:8,9,10,12

For e.g. sda6 is not preserved, but a new file system is created in
this partition.

There's a difference between preserving the partition layout
(locateion and size) and to preserve the data inside a
partition. setup-storage should distinguish between both types of
preserving using two different messages. Currently there's no message
that the data on sda8,9,10 and 12 is not deleted.




Starting setup-storage 1.0.3
Using config file: /var/lib/fai/config/disk_config/veedel
Executing: parted -s /dev/sda unit TiB print
Executing: parted -s /dev/sda unit B print free
Executing: parted -s /dev/sda unit chs print free
Executing: vgdisplay --units m -s
Executing: mdadm --detail --scan --verbose -c partitions
/dev/sda8 will be preserved
/dev/sda7 will be preserved
/dev/sda6 will be preserved
/dev/sda5 will be preserved
/dev/sda1 will be resized
Executing: udevsettle --timeout 10 && true
Executing: udevsettle --timeout 10 && parted -s /dev/sda mklabel msdos
Executing: udevsettle --timeout 10 && parted -s /dev/sda mkpart extended  
4943393280B 80023749119B
Executing: udevsettle --timeout 10 && parted -s /dev/sda mkpart logical ext3 
8768180736B 13308503039B
Executing: udevsettle --timeout 10 && parted -s /dev/sda mkpart logical ext3 
13308535296B 20406919679B
Executing: udevsettle --timeout 10 && parted -s /dev/sda mkpart logical ext3 
20406951936B 22800476159B
Executing: udevsettle --timeout 10 && parted -s /dev/sda mkpart logical ext3 
30310189056B 80023749119B
Executing: udevsettle --timeout 10 && parted -s /dev/sda resize 1 4943393280B 
80023749119B
Executing: udevsettle --timeout 10 && parted -s /dev/sda mklabel msdos
Executing: udevsettle --timeout 10 && parted -s /dev/sda mkpart primary ext3 
32256B 4943393279B
Executing: udevsettle --timeout 10 && parted -s /dev/sda mkpart extended  
4943393280B 80023749119B
Executing: udevsettle --timeout 10 && parted -s /dev/sda mkpart logical 
linux-swap 4943425536B 5782371839B
Executing: udevsettle --timeout 10 && parted -s /dev/sda mkpart logical ext3 
5782404096B 6950361599B
Executing: udevsettle --timeout 10 && parted -s /dev/sda mkpart logical ext3 
6950393856B 8768148479B
Executing: udevsettle --timeout 10 && parted -s /dev/sda mkpart logical ext3 
8768180736B 13308503039B
Executing: udevsettle --timeout 10 && parted -s /dev/sda mkpart logical ext3 
13308535296B 20406919679B
Executing: udevsettle --timeout 10 && parted -s /dev/sda mkpart logical ext3 
20406951936B 22800476159B
Executing: udevsettle --timeout 10 && parted -s /dev/sda mkpart logical ext3 
22800508416B 30310156799B
Executing: udevsettle --timeout 10 && parted -s /dev/sda mkpart logical ext3 
30310189056B 80023749119B
Executing: udevsettle --timeout 10 && mkfs.ext3  /dev/sda1
Executing: udevsettle --timeout 10 && mkswap  /dev/sda5
Executing: udevsettle --timeout 10 && mkfs.ext3 -m15 /dev/sda6
Executing: udevsettle --timeout 10 && tune2fs -c0 -i0 /dev/sda6
Executing: udevsettle --timeout 10 && mkfs.ext3 -m1 /dev/sda7
Executing: udevsettle --timeout 10 && tune2fs -c0 -i0 /dev/sda7
Executing: udevsettle --timeout 10 && mkfs.ext3  /dev/sda11



-- System Information:
Debian Release: 4.0
  APT prefers oldstable
  APT policy: (500, 'oldstable')
Architecture: i386 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-amd64
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages fai-client depends on:
ii  file                        4.17-5etch3  Determines file type using "magic"
ii  libapt-pkg-perl             0.1.20       Perl interface to libapt-pkg
ii  libparse-recdescent-perl    1.94.free-3  Generates recursive-descent parser
ii  perl                        5.8.8-7etch6 Larry Wall's Practical Extraction 

Versions of packages fai-client recommends:
ii  cfengine2                    2.1.20-1    Tool for configuring and maintaini
ii  debconf-utils                1.5.11etch2 debconf utilities

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to