bugutil-vserver - Bugs: bug #13860, Trying to do vserver-build for new...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #13860: Trying to do vserver-build for new vserver on LVM partition fails

Submitted by:  Brian Ipsen <bipsen>
Submitted on:  Wed 20 Jul 2005 01:13:27 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: CrashStatus: Fixed
Privacy: PublicAssigned to: Enrico Scholz <ensc>
Open/Closed: ClosedComponent Version: alpha
Release: 0.30.208

Mon 25 Jul 2005 06:21:06 PM UTC, comment #2:

Checked code out of CVS, did the nedded steps to configure, make and make install...

Trying to build vserver:

./vserver-build --force -m yum -n dns-ext --hostname ns2.domain.dk --interface domain=eth0:192.168.3.27/24 --initstyle=sysv --context 10027 -- -d wbel4
mv: cannot move `/etc/vservers/.defaults/vdirbase/dns-ext' to `/etc/vservers/.defaults/vdirbase/dns-ext.~1122315339~': Device or resource busy

Without --force option:

./vserver-build -m yum -n dns-ext --hostname ns2.domain.dk --interface domain=eth0:192.168.3.27/24 --initstyle=sysv --context 10027 -- -d wbel4
/usr/lib/util-vserver/vserver-build.functions: line 167: test: too many arguments
vserver-topdirectory '/etc/vservers/.defaults/vdirbase/dns-ext' and/or configuration at '/etc/vservers/dns-ext'
exist already; please try to use '--force', or remove them manually

# ls -al /vservers/dns-ext
total 12
drwxr-xr-x 2 root root 4096 Jul 19 20:33 .
drwxr-xr-x 6 root root 4096 Jul 25 11:21 ..

# ls -al /etc/vservers
total 36
drwxr-xr-x 5 root root 4096 Jul 25 11:21 .
drwxr-xr-x 67 root root 4096 Jul 25 20:13 ..
drwxr-xr-x 4 root root 4096 Jun 15 14:03 .defaults
drwxr-xr-x 11 root root 4096 Jul 24 17:33 .distributions
drwxr-xr-x 5 root root 4096 Jul 23 13:56 dns-int1

Anonymous
Mon 25 Jul 2005 04:02:56 PM UTC, comment #1:

CVS has code which should allow to build new vservers in already existing empty directories or partitions.

Enrico Scholz <ensc>
Project AdministratorIn charge of this item.
Wed 20 Jul 2005 01:13:27 PM UTC, original submission:

I've mounted a LVM partition on /vservers/dns-int - to be used by a new vserver. I then run:

# ./vserver-build --force -m yum -n dns-int -- -d wbel4
mv: cannot move `/etc/vservers/.defaults/vdirbase/dns-int' to
`/etc/vservers/.defaults/vdirbase/dns-int.~1121803446~':
Device or resource busy

Using kernel 2.6.11.12-vs1.9.5.ELsmp

# cat /etc/mtab | grep dns-int
/dev/mapper/volgrp1-dns--int /vservers/dns-int ext3 rw 0 0 #

#ls -l /vservers
drwxr-xr-x 2 root root 4096 Jul 19 20:33 dns-int

Brian Ipsen <bipsen>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Mon 25 Jul 2005 04:02:56 PM UTCenscStatusNone=>Fixed
  Assigned toNone=>ensc
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1