--- Blaisorblade <[EMAIL PROTECTED]> wrote: > To work on: > > /etc/fstab > /etc/inittab maybe
Yup x 2. > Device configs: > things like hwclock, consolefonts and X11 don't make sense in UML (however > you > can run Xnest instead of normal X by changing a symlink somewhere). In some > distros (e.g. Debian) the initscripts recognize UML and skip calling those > tools. This is serverland. X doesn't exist. ntpd maintains the clock. How does hdparms interact with UML? Do UBD devices appears as a type of disk? > Partition tables: you'd normally copy a single partition rather than a disk, > so you don't get partition tables. > > The reason for this is that when you have a partition table on a file, > mount -o loop does not parse the table, so you need a script (easily > writable) to calculate the offset and pass it as offset=$n_sectors to mount > or losetup. And this is not widely known. What about multiple filesystem image files. Can I do: ubd0=fs0.image ubd1=fs1.image ubd2=... The server system is strictly segregated with /var, /usr, etc partitions and disk usage constraints and potential overflow conditions are of significant interest to me in terms of the simulation. What about eg. databse IO tuning? Obviously time is measured in terms of the guest kernel; is there anything useful to be gained from watching IO behaviour in UML. > > Eventually I'm also interested in going the other way too: tuning the UML > > system config then putting those changes back onto the real servers. What > > do should I keep in mind when creating the UML image that will help me > > avoid problems going back to the real servers? > > Never tried that, however I could say "make a patch for your Uml-related > changes to /etc/fstab and similar material". If /dev/hdaN / /dev/ubda is used > elsewhere, you'll probably want to setup some symlinks in Typically I keep /etc in subversion so most of that "just works". I guess I was looking for hints on what files outside the obvious might get tuned as a side effect, that I might not necessarily notice had changed. Typically this is more of an app specific thing though and I just check ctime. Just looking for special conditions - I figure people on this list would know the unwritten facts. Thanks -- Rich ____________________________________________________ On Yahoo!7 The new Yahoo!7 home page - scan your email inbox, start an IM conversation or update your blog http://au.yahoo.com/ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user