Daniel Goering
2009-11-03 17:20:53 UTC
Hi,
I have a question about _write_out_mkfs_commands in
/usr/lib/systemimager/perl/SystemImager/Server.pm
Currently this function does not obey a certain order in creating and
mounting the filesystems. This leads to problems e.g. if /boot is
mounted before /, as then the bootloader and the kernel will be put on
the root device instead of the boot device.
Would it be reasonable to check all mountpoints for dependencies and
adjust the order correspondingly [so mount / before /mnt before
/mnt/data before /mnt/data/scratch], or should everyone who needs this
just perform some cut and paste in the master script?
If this is too hard to fix [unfortunately my Perl is not that good...] I
think it should at least be mentioned in the Troubleshooting section of
the web page [http://wiki.systemimager.org/index.php/Troubleshooting],
or may be even after every generation of a master script ["Please check
the mount order in ###.master" or something similar]
I am using v4.1.6 of SystemImager
Cheers
Daniel
I have a question about _write_out_mkfs_commands in
/usr/lib/systemimager/perl/SystemImager/Server.pm
Currently this function does not obey a certain order in creating and
mounting the filesystems. This leads to problems e.g. if /boot is
mounted before /, as then the bootloader and the kernel will be put on
the root device instead of the boot device.
Would it be reasonable to check all mountpoints for dependencies and
adjust the order correspondingly [so mount / before /mnt before
/mnt/data before /mnt/data/scratch], or should everyone who needs this
just perform some cut and paste in the master script?
If this is too hard to fix [unfortunately my Perl is not that good...] I
think it should at least be mentioned in the Troubleshooting section of
the web page [http://wiki.systemimager.org/index.php/Troubleshooting],
or may be even after every generation of a master script ["Please check
the mount order in ###.master" or something similar]
I am using v4.1.6 of SystemImager
Cheers
Daniel