VMware server 2 removed , how do i format in xfs or jfs ?

hi,
i have removed vmware server 2 from /osvirtuels where it was with rpm
-e VMware-server, i then cleaned with # rm -rf the various files , i now
want to format my /osvirtuels in ext3 can you help me please ?
i used mk2fs -j /dev/sda2 but it said it is mounted, i wanted to umount
it but it now says it’s busy, what’s making it busy ? how do i format my
/osvirtuels into ext3 ?

lsof | grep /osvirtuels/

lsof: WARNING: can’t stat() fuse.gvfs-fuse-daemon file system
/home/fabrice/.gvfs
Output information may be incomplete.

ps :
i was told xfs or jfs is quicker than ext3 in vmware server , so in
fact i(d like to format in jfs, do you know the appropriate command?

thanks :wink:


openSUSE 11 , Kde 4

manchette_fr’s Profile: http://forums.opensuse.org/member.php?userid=13401
View this thread: http://forums.opensuse.org/showthread.php?t=405938

That partition has to be not mounted for you to be able to format it. So
go into /etc/fstab and comment out the line involving /dev/sda2 and
/osvirtuels. Then do:

umount /dev/sda2

If you can’t umount it, perhaps it’s easier to reboot instead of trying
to hunt down the process. Then you can format it with

mke2fs -j /dev/sda2

For xfs substitute mkfs.xfs for mke2fs. You will need to install the
xfsprogs package to have it. I don’t have experience with JFS, but it
should be a similar story.

Then modify /etc/fstab to mount /dev/sda2 with xfs and remount it.

Make sure that /dev/sda2 is really the partition you want, and that
nothing you want to preserve is on it, because you will lose everything
in it from the formatting. You have been warned. That process hanging
onto /osvirtuels may be something you need so find out first by
rebooting if you really needed that partition.


ken_yap

ken_yap’s Profile: http://forums.opensuse.org/member.php?userid=221
View this thread: http://forums.opensuse.org/showthread.php?t=405938

hi,
i need this /osvirtuels for virtual machines only, this is dedicated to
this specifically :wink:

When you say i need to modify /etc/fstab to mount in xfs :
does it only mean change “ext3” into “xfs” ?

How can i be sure if there is nothing else to clean ? ( Like stuff
installed by VMware-server 2 in others directories )
Is there an uninstall tool for VMware-server 2 , or for previous
versions ?


openSUSE 11.1 , Kde 4

manchette_fr’s Profile: http://forums.opensuse.org/member.php?userid=13401
View this thread: http://forums.opensuse.org/showthread.php?t=405938

*edit of the above * :

hi,
i need this /osvirtuels for virtual machines only, this is dedicated to
this specifically :wink:

after editing /etc/fstab with # vi /etc/fstab in order to comment with

the /dev/sda2 line :

/dev/disk/by-id/ata-ST3320620AS_9QF5PH60-part2 /osvirtuels

ext3 acl,user_xattr 1 2

a # umount tells me its still busy :

linux-d2g5:/osvirtuels # mount -a
linux-d2g5:/osvirtuels # umount /dev/sda2
umount: /osvirtuels: device is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))

lsof | grep /osvirtuels/

lsof: WARNING: can’t stat() fuse.gvfs-fuse-daemon file system
/home/fabrice/.gvfs
Output information may be incomplete.

When you say i need to modify /etc/fstab to mount in xfs :
does it only mean change “ext3” into “xfs” ?

How can i be sure if there is nothing else to clean ? ( Like stuff
installed by VMware-server 2 in others directories )
Is there an uninstall tool for VMware-server 2 , or for previous
versions ?

cheers :wink:


openSUSE 11.1 , Kde 4

manchette_fr’s Profile: http://forums.opensuse.org/member.php?userid=13401
View this thread: http://forums.opensuse.org/showthread.php?t=405938

It’s busy because you are in the top directory of the filesystem! :wink:

cd /

then try the umount again.


ken_yap

ken_yap’s Profile: http://forums.opensuse.org/member.php?userid=221
View this thread: http://forums.opensuse.org/showthread.php?t=405938

ok it did umount this time and changed the format to xfs too, but after
modifying the line in /etc/fstab :
/dev/disk/by-id/ata-ST3320620AS_9QF5PH60-part2 /osvirtuels
xfs acl,user_xattr 1 2

when i want to # mount -a i have an error :

mount -a

mount: wrong fs type, bad option, bad superblock on /dev/sda2,
missing codepage or helper program, or other error
or if i want to mount :

mount /dev/sda2

mount: wrong fs type, bad option, bad superblock on /dev/sda2,
missing codepage or helper program, or other error
… But

mount -t xfs /dev/sda2 /osvirtuels

works :smiley:

inux-d2g5:/ # df
Sys. de fich. 1K-blocs Occupé Disponible Capacité Monté
sur


/dev/sda2 104893372 4256 104889116 1% /osvirtuels
linux-d2g5:/ # cat /proc/mounts

/dev/sda2 /osvirtuels xfs rw,attr2,noquota 0 0

have you seen in your experience that xfs is quicker than ext3 for
vmware or virtualbox ?


openSUSE 11.1 , Kde 4

manchette_fr’s Profile: http://forums.opensuse.org/member.php?userid=13401
View this thread: http://forums.opensuse.org/showthread.php?t=405938

After all this i try to install the vmware server 1.0.8 rpm, and then i
can’t build the vmon module :\

Why so ?


openSUSE 11.1 , Kde 4

manchette_fr’s Profile: http://forums.opensuse.org/member.php?userid=13401
View this thread: http://forums.opensuse.org/showthread.php?t=405938

here’s the result i have got :

>
>
>
> Trying to find a suitable vmmon module for your running kernel.
>
> None of the pre-built vmmon modules for VMware Server is suitable for
> your
> running kernel. Do you want this program to try to build the vmmon
> module for
> your system (you need to have a C compiler installed on your system)?
> [yes]
>
> Using compiler “/usr/bin/gcc”. Use environment variable CC to
> override.
>
> Your kernel was built with “gcc” version “4.3.2”, while you are trying
> to use
> “/usr/bin/gcc” version “4.3”. This configuration is not recommended and
> VMware
> Server may crash if you’ll continue. Please try to use exactly same
> compiler as
> one used for building your kernel. Do you want to go with compiler
> “/usr/bin/gcc” version “4.3” anyway? [no] y
>
> What is the location of the directory of C header files that match your
> running
> kernel? [/lib/modules/2.6.27.7-9-pae/build/include]
>
> Extracting the sources of the vmmon module.
>
> Building the vmmon module.
>
> Using 2.6.x kernel build system.
> make: entrant dans le répertoire « /tmp/vmware-config2/vmmon-only »
> make -C /lib/modules/2.6.27.7-9-pae/build/include/… SUBDIRS=$PWD
> SRCROOT=$PWD/. modules
> make[1]: entrant dans le répertoire «
> /usr/src/linux-2.6.27.7-9-obj/i386/pae »
> make -C …/…/…/linux-2.6.27.7-9
> O=/usr/src/linux-2.6.27.7-9-obj/i386/pae/. modules
> CC [M] /tmp/vmware-config2/vmmon-only/linux/driver.o
> In file included from
> /tmp/vmware-config2/vmmon-only/./include/x86.h:20,
> from /tmp/vmware-config2/vmmon-only/./include/machine.h:24,
> from /tmp/vmware-config2/vmmon-only/linux/driver.h:15,
> from /tmp/vmware-config2/vmmon-only/linux/driver.c:49:
> /tmp/vmware-config2/vmmon-only/./include/x86apic.h:79:1: warning:
> “APIC_BASE_MSR” redefined
> In file included from include2/asm/fixmap_32.h:29,
> from include2/asm/fixmap.h:5,
> from include2/asm/apic.h:9,
> from include2/asm/smp.h:13,
> from /usr/src/linux-2.6.27.7-9/include/linux/smp.h:28,
> from /usr/src/linux-2.6.27.7-9/include/linux/topology.h:33,
> from /usr/src/linux-2.6.27.7-9/include/linux/mmzone.h:687,
> from /usr/src/linux-2.6.27.7-9/include/linux/gfp.h:4,
> from /usr/src/linux-2.6.27.7-9/include/linux/kmod.h:22,
> from /usr/src/linux-2.6.27.7-9/include/linux/module.h:13,
> from /tmp/vmware-config2/vmmon-only/linux/driver.c:12:
> include2/asm/apicdef.h:134:1: warning: this is the location of the
> previous definition
> In file included from
> /tmp/vmware-config2/vmmon-only/./include/machine.h:24,
> from /tmp/vmware-config2/vmmon-only/linux/driver.h:15,
> from /tmp/vmware-config2/vmmon-only/linux/driver.c:49:
> /tmp/vmware-config2/vmmon-only/./include/x86.h:830:1: warning:
> “PTE_PFN_MASK” redefined
> In file included from include2/asm/paravirt.h:7,
> from include2/asm/irqflags.h:55,
> from /usr/src/linux-2.6.27.7-9/include/linux/irqflags.h:57,
> from include2/asm/system.h:11,
> from include2/asm/processor.h:17,
> from /usr/src/linux-2.6.27.7-9/include/linux/prefetch.h:14,
> from /usr/src/linux-2.6.27.7-9/include/linux/list.h:6,
> from /usr/src/linux-2.6.27.7-9/include/linux/module.h:9,
> from /tmp/vmware-config2/vmmon-only/linux/driver.c:12:
> include2/asm/page.h:22:1: warning: this is the location of the previous
> definition
> In file included from
> /tmp/vmware-config2/vmmon-only/linux/vmhost.h:13,
> from /tmp/vmware-config2/vmmon-only/linux/driver.c:71:
> /tmp/vmware-config2/vmmon-only/./include/compat_semaphore.h:5:27:
> error: asm/semaphore.h: Aucun fichier ou dossier de ce type
> /tmp/vmware-config2/vmmon-only/linux/driver.c:146: error: unknown field
> ‘nopage’ specified in initializer
> /tmp/vmware-config2/vmmon-only/linux/driver.c:147: warning:
> initialization from incompatible pointer type
> /tmp/vmware-config2/vmmon-only/linux/driver.c:150: error: unknown field
> ‘nopage’ specified in initializer
> /tmp/vmware-config2/vmmon-only/linux/driver.c:151: warning:
> initialization from incompatible pointer type
> /tmp/vmware-config2/vmmon-only/linux/driver.c: In function
> ‘LinuxDriver_Ioctl’:
> /tmp/vmware-config2/vmmon-only/linux/driver.c:1670: error: too many
> arguments to function ‘smp_call_function’
> make[4]: *** [/tmp/vmware-config2/vmmon-only/linux/driver.o] Erreur 1
> make[3]: *** [module/tmp/vmware-config2/vmmon-only] Erreur 2
> make[2]: *** [sub-make] Erreur 2
> make[1]: *** [all] Erreur 2
> make[1]: quittant le répertoire «
> /usr/src/linux-2.6.27.7-9-obj/i386/pae »
> make: *** [vmmon.ko] Erreur 2
> make: quittant le répertoire « /tmp/vmware-config2/vmmon-only »
> Unable to build the vmmon module.
>
> For more information on how to troubleshoot module-related problems,
> please
> visit our Web site at
> “http://www.vmware.com/download/modules/modules.html” and
> “http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html”.
>
> Execution aborted.
>
>


openSUSE 11.1 , Kde 4

manchette_fr’s Profile: http://forums.opensuse.org/member.php?userid=13401
View this thread: http://forums.opensuse.org/showthread.php?t=405938

Sorry I haven’t read anything about whether XFS is faster for vmware or
virtualbox or not. I don’t believe it makes any difference to my
virtualbox VMs anyway since I just use it to play with new distros, not
for heavy I/O work. So I have no opinions on this question. Good luck.


ken_yap

ken_yap’s Profile: http://forums.opensuse.org/member.php?userid=221
View this thread: http://forums.opensuse.org/showthread.php?t=405938

hi,
i found a way to compile th vmon module of vmware server 1.0.8 for
opensuse 11.1 but now i can’t create a virtual machine …

here’s the error message it gives me :
Unable to complete wizard: Unable to create a new virtual machine: No
permission to perform this operation.

i’m using ext3 for the hdds but the part of the disk where is stored
the virtual machine is in xfs, i was told that wfs is supposedly quicker
with vmware server .

here’s the /etc/fstab line :

/dev/disk/by-id/ata-ST3320620AS_9QF5PH60-part2 /osvirtuels xfs
acl,user_xattr 1 2

is there somehting missing there ?

How can i have the right to create the machines ?

Thanks :wink:


openSUSE 11.1 , Kde 4

manchette_fr’s Profile: http://forums.opensuse.org/member.php?userid=13401
View this thread: http://forums.opensuse.org/showthread.php?t=405938

Any idea on how to be sure my /osvirtuels (/dev/sda2) is mounted and
accessible in RW ?
It’s not in $df and in # mount :frowning:
I still can’t access to it when i try to create a virtual machine in
virtualbox

Here’s what i have :
fabrice@linux-d2g5:~> df
Sys. de fich. 1K-blocs Occupé Disponible Capacité Monté sur
/dev/sdb2 30961696 6025136 23363800 21% /
udev 510560 240 510320 1% /dev
/dev/sdb5 30961664 29095252 293652 100% /home
/dev/sda1 204364428 122483760 71499468 64% /stockage1
/dev/sdc1 153834852 192068 145828368 1% /stockage2

fabrice@linux-d2g5:~> su
Mot de passe :
linux-d2g5:/home/fabrice # cat /etc/fstab
/dev/disk/by-id/ata-WDC_WD1600PD-07FZB1_WD-WMAES3562221-part1 swap swap
defaults 0 0
/dev/disk/by-id/ata-WDC_WD1600PD-07FZB1_WD-WMAES3562221-part2 / ext3
acl,user_xattr 1 1
/dev/disk/by-id/ata-WDC_WD1600PD-07FZB1_WD-WMAES3562221-part5 /home
ext3 acl,user_xattr 1 2
/dev/disk/by-id/ata-ST3320620AS_9QF5PH60-part2 /osvirtuels xfs
acl,user_xattr 1 2
/dev/disk/by-id/ata-ST3320620AS_9QF5PH60-part1 /stockage1 ext3 defaults
1 2
/dev/disk/by-id/ata-WDC_WD1600PD-07FZB1_WD-WMAES3561246-part1
/stockage2 ext3 acl,user_xattr 1 2
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0

/pts devpts mode=0620,gid=5 0 0

linux-d2g5:/home/fabrice # ls -l /dev/sda2
brw-rw---- 1 root disk 8, 2 janv. 30 17:06 /dev/sda2

mount

/dev/sdb2 on / type ext3 (rw,acl,user_xattr)
/proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
debugfs on /sys/kernel/debug type debugfs (rw)
udev on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
/dev/sdb5 on /home type ext3 (rw,acl,user_xattr)
/dev/sda1 on /stockage1 type ext3 (rw)
/dev/sdc1 on /stockage2 type ext3 (rw,acl,user_xattr)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
securityfs on /sys/kernel/security type securityfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
gvfs-fuse-daemon on /home/fabrice/.gvfs type fuse.gvfs-fuse-daemon
(rw,nosuid,nodev,user=fabrice)

getfacl /dev/sda2

getfacl: Removing leading ‘/’ from absolute path names

file: dev/sda2

owner: root

group: disk

user::rw-
group::rw-
other::—

thanks :wink:


openSUSE 11.1 , Kde 4

manchette_fr’s Profile: http://forums.opensuse.org/member.php?userid=13401
View this thread: http://forums.opensuse.org/showthread.php?t=405938

Code:

chown yourself:users /osvirtuels


ken_yap

ken_yap’s Profile: http://forums.opensuse.org/member.php?userid=221
View this thread: http://forums.opensuse.org/showthread.php?t=405938