Public bug reported:

Binary package hint: upstart

Distro:  Ubuntu Lucid AMD64 Server daily build 2010-02-15

I think this is a problem with upstart, apologies in advance if it's
not.  In installing Lucid on a new server, I discovered that grub2 has
problems with large / partitions (see Bug #523543).  Since both www and
Maildir want to reside in /var, this partition can get rather big.  My
brilliant solution was to make a 50GB / partition and a 3TB data1
partition, with /home and /var being soft links in / to /data1/home and
/data1/var, respectively  (cat of /etc/fstab below).

Unfortunately, this doesn't work.  Something called ulookahead or something 
like this fails because it can't find /var/run, presumably before the /data1 
partition has been mounted.  Since fs_passno (the 6th field in /etc/fstab) is 
presumably only used for file system checking, my conclusion is that /var can't 
reside on a partition other than / now?  
[My technique for accomplishing the preceding was to do a clean, generic 
install of Lucid server to the 50GB / partition, reboot using the Karmic Live 
CD, mount / to /mnt, /data1 to /mnt/data1, 
cd /mnt; mv ./home data1; mv ./var data1; ln -s data1/home .; ln -s data1/var .]

The combination of grub2 can't handle large / partitions and /var must
live in / is problematic for sites with lots of IMAP mail and/or a large
webspace.


r...@data:/etc# cat fstab
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# / was on /dev/cciss/c0d0p1 during installation
UUID=66da59e0-f86b-47ce-8968-8da1fa783157 /               ext4    
errors=remount-ro 0       1
# /data1 was on /dev/cciss/c0d0p3 during installation
UUID=998c9131-8ae9-47f2-b89f-34df372b8cd3 /data1          ext4    defaults      
  0       2
# swap was on /dev/cciss/c0d0p2 during installation
UUID=74c01b70-7f53-4902-a68f-398b1c1696fc none            swap    sw            
  0       0

** Affects: upstart (Ubuntu)
     Importance: Undecided
         Status: New

-- 
/var can no longer live on its own partition?
https://bugs.launchpad.net/bugs/526622
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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

Reply via email to