Page 1 of 2 12 LastLast
Results 1 to 10 of 12

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

  1. #1
    Join Date
    Oct 2008
    Location
    near the Alps
    Posts
    567

    Question 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
    openSUSE Leap 42.2 , KDE Plasma 5

  2. #2
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: VMware server 2 removed , how do i format in xfs or jfs

    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.

  3. #3
    Join Date
    Oct 2008
    Location
    near the Alps
    Posts
    567

    Default Re: VMware server 2 removed , how do i format in xfs or jfs

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

    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 Leap 42.2 , KDE Plasma 5

  4. #4
    Join Date
    Oct 2008
    Location
    near the Alps
    Posts
    567

    Default Re: VMware server 2 removed , how do i format in xfs or jfs

    *edit of the above * :

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

    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
    openSUSE Leap 42.2 , KDE Plasma 5

  5. #5
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: VMware server 2 removed , how do i format in xfs or jfs

    It's busy because you are in the top directory of the filesystem!

    cd /

    then try the umount again.

  6. #6
    Join Date
    Oct 2008
    Location
    near the Alps
    Posts
    567

    Default Re: VMware server 2 removed , how do i format in xfs or jfs

    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

    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 Leap 42.2 , KDE Plasma 5

  7. #7
    Join Date
    Oct 2008
    Location
    near the Alps
    Posts
    567

    Default Re: VMware server 2 removed , how do i format in xfs or jfs

    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 Leap 42.2 , KDE Plasma 5

  8. #8
    Join Date
    Oct 2008
    Location
    near the Alps
    Posts
    567

    Default Re: VMware server 2 removed , how do i format in xfs or jfs

    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 Leap 42.2 , KDE Plasma 5

  9. #9
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: VMware server 2 removed , how do i format in xfs or jfs

    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.

  10. #10
    Join Date
    Oct 2008
    Location
    near the Alps
    Posts
    567

    Default Re: VMware server 2 removed , how do i format in xfs or jfs

    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
    openSUSE Leap 42.2 , KDE Plasma 5

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •