Thanks for your reply, darkod.
I have confirmed that the mdadm package is not included on the 13.04 live ISO. And I BEG for this to change!
Whenever I have used an Ubuntu live CD, I have always noticed how slow it is. I am not exactly sure why it is so slow. This time I made a bootable USB thumb drive. I don't know whether the fact that this was 13.04, or the fact that I used a USB device was the reason -- but everything was UNBELIEVABLY slow. I often wait for nearly a minute for an Ubuntu Forums web page to load in Firefox, and the window grays out for most of that time.
The following mdadm installation took nearly an hour to run, with warnings as you can see:
Code:
ubuntu@ubuntu:~$ sudo apt-get install mdadm
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
postfix
Suggested packages:
procmail postfix-mysql postfix-pgsql postfix-ldap postfix-pcre sasl2-bin
dovecot-common postfix-cdb postfix-doc
Recommended packages:
default-mta mail-transport-agent
The following NEW packages will be installed:
mdadm postfix
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/1,872 kB of archives.
After this operation, 4,735 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
Selecting previously unselected package mdadm.
(Reading database ... 161462 files and directories currently installed.)
Unpacking mdadm (from .../mdadm_3.2.5-5ubuntu2_amd64.deb) ...
Selecting previously unselected package postfix.
Unpacking postfix (from .../postfix_2.10.0-3_amd64.deb) ...
Processing triggers for ureadahead ...
Processing triggers for man-db ...
Processing triggers for doc-base ...
Processing 32 changed doc-base files, 6 added doc-base files...
Processing triggers for ufw ...
WARN: uid is 0 but '/' is owned by 1000
Setting up mdadm (3.2.5-5ubuntu2) ...
Generating mdadm.conf... done.
Removing any system startup links for /etc/init.d/mdadm-raid ...
update-initramfs: deferring update (trigger activated)
* Starting MD monitoring service mdadm --monitor [ OK ]
Setting up postfix (2.10.0-3) ...
Adding group `postfix' (GID 125) ...
Done.
Adding system user `postfix' (UID 116) ...
Adding new user `postfix' (UID 116) with group `postfix' ...
Not creating home directory `/var/spool/postfix'.
Creating /etc/postfix/dynamicmaps.cf
Adding tcp map entry to /etc/postfix/dynamicmaps.cf
Adding sqlite map entry to /etc/postfix/dynamicmaps.cf
Adding group `postdrop' (GID 126) ...
Done.
setting myhostname: ubuntu
setting alias maps
setting alias database
mailname is not a fully qualified domain name. Not changing /etc/mailname.
setting destinations: /etc/mailname, ubuntu, localhost.localdomain, localhost
setting relayhost:
setting mynetworks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
setting mailbox_size_limit: 0
setting recipient_delimiter: +
setting inet_interfaces: all
/etc/aliases does not exist, creating it.
WARNING: /etc/aliases exists, but does not have a root alias.
Postfix is now set up with a default configuration. If you need to make
changes, edit
/etc/postfix/main.cf (and others) as needed. To view Postfix configuration
values, see postconf(1).
After modifying main.cf, be sure to run '/etc/init.d/postfix reload'.
Running newaliases
* Stopping Postfix Mail Transport Agent postfix [ OK ]
* Starting Postfix Mail Transport Agent postfix [ OK ]
Processing triggers for ureadahead ...
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.8.0-19-generic
cryptsetup: WARNING: failed to detect canonical device of overlayfs
cryptsetup: WARNING: could not determine root device from /etc/fstab
Processing triggers for ufw ...
WARN: uid is 0 but '/' is owned by 1000
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
W: Operation was interrupted before it could finish
ubuntu@ubuntu:~$ sudo mdadm --assemble --scan
mdadm: /dev/md/1 has been started with 2 drives.
mdadm: /dev/md/2 has been started with 2 drives.
mdadm: /dev/md/3 has been started with 2 drives.
ubuntu@ubuntu:~$
This was only a 1.9 MB download, which expands into 4.7 MB of disk space, so adding it to the live ISO would be trivial. Ubuntu has now decided to exceed the CD-ROM size anyway, so what's a little extra?
I don't understand why mdadm depends on postfix either (an email server?). Half the installation time was spent on postfix, and several of the warnings seem to be connected to it.
I will now try installing 13.04 to an empty partition on my RAID (saved just for this purpose) and report back. I hope I get the kind of performance I have come to expect from Ubuntu, this slow installation is scaring me!
Bookmarks