[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

swap partitions RH 4.50




In a number of RH Enterprise 1.4.0 systems
I created a swap logical partition with the logical
parameters :

eds7:/root] # fdisk -l

Disk /dev/sda: 146.1 GB, 146163105792 bytes
255 heads, 63 sectors/track, 17769 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1          10       80293+  de  Dell Utility
/dev/sda2   *          11         272     2104515    b  W95 FAT32
/dev/sda3             273         297      200812+  83  Linux
/dev/sda4             298       17769   140343840    5  Extended
/dev/sda5             298       17635   139267453+  8e  Linux LVM

--- Logical volume ---
  LV Name                /dev/VolGroup00/LogVol01
  VG Name                VolGroup00
  LV UUID                6Y3fjH-B0E1-2Hzp-53yC-a2VH-6fkG-LdltyX
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                15.62 GB
  Current LE             500
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:5
   from anaconda :

#logvol swap --fstype swap --name=LogVol01 --vgname=VolGroup00 --size=16000

We have a disaster recovery machine , which should be configured
similarily. 

The installer did not follow the prototype , and for swap
has :

# fdisk -l

Disk /dev/sda: 146.1 GB, 146163105792 bytes
255 heads, 63 sectors/track, 17769 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      104391   83  Linux
/dev/sda2              14         100      698827+  83  Linux
/dev/sda3             651       17433   134809447+  8e  Linux LVM
/dev/sda4           17434       17769     2698920    f  W95 Ext'd (LBA)
/dev/sda5           17434       17502      554211   82  Linux swap
/dev/sda6           17503       17756     2040223+  83  Linux
/dev/sda7           17757       17769      104391   fc  VMware VMKCORE

#part swap --noformat --onpart sda5

Is it possible to convert the swap unformatted partition
on this machine, to the swap logical volume the other machines have.

The swap unformatted logical partition looks undersized ,

JYard
UCLA 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]