Reduce Size of serveur in LINUX-Suse

Hello,

I do not know Linux. It is a black box.

We have 2 virtuals servers (SAPVM01 and SAPVM06) in one physical server.

The first virtual system (SAPVM01) has a total size of 420 Gb and a free space of 170 GB. A SAP system is running.
The second virtual system (SAPVM06) has a total size of 200GB and it is a new system. it is empty.

The goal is to reduce SAPVM01 of 150 Gb and to add this space to SAPVM06.
Is it possible to do this??

Hereafter, some commands that they can help you:

we have VMWARE

the version of LINUX is [FONT=Arial]SUSE Linux ES 10.

SERVEUR20:~ # uname -a
Linux SERVEUR20 2.6.16.60-0.21-smp #1 SMP Tue May 6 12:41:02 UTC 2008 x86_64 x86_64 x86_64 GNU/Linux SERVEUR20:~ # 
 
 
SERVEUR20:~ # vgdisplay
  --- Volume group ---
  VG Name               system
  System ID
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  3
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                2
  Open LV               2
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               429.92 GB
  PE Size               4.00 MB
  Total PE              110060
  Alloc PE / Size       110058 / 429.91 GB
  Free  PE / Size       2 / 8.00 MB
  VG UUID               C2YYyy-iLrN-BrRv-MbmK-lHxP-fhbV-otbZCZ
 
SERVEUR20:~ #
 
 
SERVEUR20:~ # lvdisplay
  --- Logical volume ---
  LV Name                /dev/system/root_lv
  VG Name                system
  LV UUID                iLVWmc-cqTP-x1ZV-WjY9-BYX7-dE1G-OQvl1b
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                407.91 GB
  Current LE             104426
  Segments               1
  Allocation             inherit
  Read ahead sectors     0
  Block device           253:0
 
  --- Logical volume ---
  LV Name                /dev/system/swap_lv
  VG Name                system
  LV UUID                e8hpKQ-44R2-B8V9-jp7K-qtKx-LX7K-tAeZuv
  LV Write Access        read/write
  LV Status              available
  # open                 2
  LV Size                22.00 GB
  Current LE             5632
  Segments               1
  Allocation             inherit
  Read ahead sectors     0
  Block device           253:1
 
SERVEUR20:~ #
 
 
SERVEUR20:~ # fdisk -l
 
Disk /dev/sda: 461.7 GB, 461708984320 bytes
255 heads, 63 sectors/track, 56132 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
 
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1           9       72261   83  Linux
/dev/sda2              10       56132   450807997+  8e  Linux LVM
 
Disk /dev/dm-0: 437.9 GB, 437994389504 bytes
255 heads, 63 sectors/track, 53249 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
 
Disk /dev/dm-0 doesn't contain a valid partition table
 
Disk /dev/dm-1: 23.6 GB, 23622320128 bytes
255 heads, 63 sectors/track, 2871 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
 
Disk /dev/dm-1 doesn't contain a valid partition table SERVEUR20:~ #
 
 
SERVEUR20:~ # mount
/dev/mapper/system-root_lv on / type ext3 (rw) 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,size=22g) devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
/dev/sda1 on /boot type ext3 (rw,acl,user_xattr) SERVEUR20:~ #
 
 
SERVEUR20:/etc # cat SuSE-release
SUSE Linux Enterprise Server 10 (x86_64) VERSION = 10 PATCHLEVEL = 2 SERVEUR20:/etc #
 
 
SERVEUR20:/ # cat /etc/fstab
/dev/system/root_lv  /                    ext3       defaults              1 1
/dev/sda1            /boot                ext3       acl,user_xattr        1 2
/dev/system/swap_lv  swap                 swap       defaults              0 0
proc                 /proc                proc       defaults              0 0
sysfs                /sys                 sysfs      noauto                0 0
debugfs              /sys/kernel/debug    debugfs    noauto                0 0
devpts               /dev/pts             devpts     mode=0620,gid=5       0 0
/dev/fd0             /media/floppy        auto       noauto,user,sync      0 0
SERVEUR20:/ #
 
 
 
SERVEUR20:/ # apropos reiser
debugfs.reiserfs (8) - The debugging tool for the ReiserFS filesystem.
reiserfsck (8)       - The checking tool for the ReiserFS filesystem.
mkreiserfs (8)       - The create tool for the Linux ReiserFS filesystem.
tunefs.reiserfs (8)  - The tunning tool for the ReiserFS filesystem.
reiserfstune (8)     - The tunning tool for the ReiserFS filesystem.
fsck.reiserfs (8)    - The checking tool for the ReiserFS filesystem.
mkfs.reiserfs (8)    - The create tool for the Linux ReiserFS filesystem.
resize_reiserfs (8)  - resizer tool for the ReiserFS filesystem
debugreiserfs (8)    - The debugging tool for the ReiserFS filesystem.
SERVEUR20:/ #

Is there someone to help me ??
thanks in advance for your help
Daniel

Is this output from within one of the VMs, or from the server hosting the VMs?

it is from VM

It appears as though the disk was already allocated to the VM. Also, in this way, I personally believe it was done in an inefficient way.

What is the output of

df -h

Also, could you add disk to the physical server and then allocate that to the second virtual server?

How much memory exists on the physical machine as well as each virtual machine?

vmstat -s -S M | egrep 'mem|swap'

You may also want to run top on the physical machine, not to mention, if these are running SAP, depending on the disk subsystem, you may run into contention for I/O and slow both of them down.