Sponsored Content
Full Discussion: Disk management in RHEL 6
Operating Systems Linux Red Hat Disk management in RHEL 6 Post 302856113 by stam51 on Monday 23rd of September 2013 04:03:33 AM
Old 09-23-2013
Disk management in RHEL 6

Hi,

I want to Create a patition /home with 100G which be taken from /Archive,

Note that we are using Raid 10.

Thanks and regards


Code:
root@mainmgt1 ~]# df -h
Filesystem				Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup-lv_root            94G   69G   20G  78% /
tmpfs					24G  668M   23G   3% /dev/shm
/dev/sda1				485M   35M  425M   8% /boot
/dev/mapper/VolGroup-lv_tmp             29G  173M   27G   1% /tmp
/dev/mapper/VolGroup-lv_varlog          6.5G  242M  5.9G   4% /var/log
/dev/mapper/vg_Storage-lv_Storage       262G  939M  248G   1% /var/lib/Storage
/dev/mapper/vg_Archive-lv_Archive       523G  135G  362G  28% /archive



[root@mainmgt1 ~]# lsblk 
NAME                                 MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda                                    8:0    0 279.4G  0 disk 
├─sda1                                 8:1    0   500M  0 part /boot
└─sda2                                 8:2    0 278.9G  0 part 
  ├─VolGroup-lv_root (dm-0)          253:0    0  94.6G  0 lvm  /
  ├─VolGroup-lv_swap (dm-1)          253:1    0  11.5G  0 lvm  [SWAP]
  ├─VolGroup-lv_tmp (dm-4)           253:4    0  28.5G  0 lvm  /tmp
  └─VolGroup-lv_varlog (dm-5)        253:5    0   6.5G  0 lvm  /var/log
sdb                                    8:16   0 279.4G  0 disk 
└─vg_Storage-lv_Storage (dm-3) 253:3    0 265.4G  0 lvm  /var/lib/storage
sdc                                    8:32   0 279.4G  0 disk 
└─vg_Archive-lv_Archive (dm-2) 253:2    0 530.8G  0 lvm  /archive
sdd                                    8:48   0 279.4G  0 disk 
└─vg_Archive-lv_Archive (dm-2) 253:2    0 530.8G  0 lvm  /archive
sde                                    8:64   0 279.4G  0 disk 
sdf                                    8:80   0 279.4G  0 disk  

[root@mainmgt1 ~]# pvscan
  PV /dev/sdc    VG vg_Archive   lvm2 [279.36 GiB / 0    free]
  PV /dev/sdd    VG vg_Archive   lvm2 [279.36 GiB / 27.94 GiB free]
  PV /dev/sdb    VG vg_Storage   lvm2 [279.36 GiB / 13.97 GiB free]
  PV /dev/sda2   VG VolGroup        lvm2 [278.88 GiB / 137.70 GiB free]
  Total: 4 [1.09 TiB] / in use: 4 [1.09 TiB] / in no VG: 0 [0   ]


[root@mainmgt1 ~]# lvscan
  ACTIVE            '/dev/vg_Archive/lv_Archive' [530.79 GiB] inherit
  ACTIVE            '/dev/vg_Storage/lv_Storage' [265.39 GiB] inherit
  ACTIVE            '/dev/VolGroup/lv_root' [94.62 GiB] inherit
  ACTIVE            '/dev/VolGroup/lv_swap' [11.51 GiB] inherit
  ACTIVE            '/dev/VolGroup/lv_tmp' [28.54 GiB] inherit
  ACTIVE            '/dev/VolGroup/lv_varlog' [6.50 GiB] inherit
[root@mainmgt1 ~]#


Last edited by stam51; 09-23-2013 at 06:47 AM.. Reason: using code tags
 

10 More Discussions You Might Find Interesting

1. OS X (Apple)

disk management through terminal/X11

Just being curious and trying to learn so i can say that i know. The only thing that i cannot do through terminal is disk management. whether .dmg or cd's, i have not been able to find a tutorial on how to mount, unmount, and/or eject disks. Does anyone here know how to do it or where to look?... (2 Replies)
Discussion started by: j4m45
2 Replies

2. Solaris

Disk space management on Solaris

Hi, I'm using sun solaris. Using df -h I have the following: Filesystem size used avail capacity Mounted on /dev/md/dsk/d2 12G 7.1G 4.6G 61% / /proc 0K 0K 0K 0% /proc mnttab 0K 0K 0K 0% ... (5 Replies)
Discussion started by: HSN
5 Replies

3. Linux

RHEL 3 is not supporting SCASI Disk

Hi guys I am having some SCASI Driver issue while installing the RHEL 3 on SunFire X4200 series Server so can anyone help me out as how to get rid off from this problem. (1 Reply)
Discussion started by: daya.pandit
1 Replies

4. Red Hat

RHEL 3 is not supporting SCASI disk

Hi guys I am having some SCASI Driver issue while installing the RHEL 3 on SunFire X4200 series Server so can anyone help me out as how to get rid off from this problem. (2 Replies)
Discussion started by: daya.pandit
2 Replies

5. Red Hat

How to Migrate from Single Disk to Many? (RHEL 4.6)

I have a Red Hat Enterprise 4.6 virtual server built on 1 virtual disk running Oracle Applications on VMware ESX 3.5; the performance of the virtual server is not good because of IO bottlenecks. The ESX server is reporting minimal load, it's the virtual server which is struggling with disk IO... (2 Replies)
Discussion started by: home4ktt
2 Replies

6. Solaris

Disk management

Dear experts, I have a freshly installed solaris 10 64bit os in one hard disk Now i have added another hard disk and managed all settings perfectly in bios mode. Now how can i manage my second hard disk in solaris. because i want to install sap which i have dump in 2nd hard... (1 Reply)
Discussion started by: prathapkutty
1 Replies

7. Red Hat

Does RHEL 5 provide a command to collect RHEL system log in single compress file?

Hi, I heard a command that can collect all RHEL 5 log in a single compress file before I forget. Does any body know...What the command is ? Thanks. (4 Replies)
Discussion started by: nnnnnnine
4 Replies

8. UNIX for Dummies Questions & Answers

Hard disk and file management?

Dear experts, I have to write a small project named "Hard disk management and file management in Unix/Linux". I have absolutely NO idea about what Unix/Linux is, except that it is operational system. My question to you is: Whats is the difference between Unix and Linux and since the title of my... (3 Replies)
Discussion started by: makara
3 Replies

9. Red Hat

Installation RHEL in External hard disk.

Hi all. Can i install RHEl5 in a external hard disk, work on lenovo T60 laptop. Plz reply me. Tell me the process. (2 Replies)
Discussion started by: nagaraju.kappal
2 Replies

10. Red Hat

Error throwing while installing vsftpd package in rhel 6. using rhel 6 dvd.

Hi all, Im studying rhcsa as of now, so yum installation and dependencies are messing me to not workit out. i have dual os, win 7 & rhel 6. i have tried this installation of vsftpd package with rhel 6 dvd in VM rhel 6 in win 7 as well as host rhel 6.still the same issue. below error... (6 Replies)
Discussion started by: redhatlbug
6 Replies
VGIMPORTCLONE(8)					      System Manager's Manual						  VGIMPORTCLONE(8)

NAME
vgimportclone - import and rename duplicated volume group (e.g. a hardware snapshot) SYNOPSIS
vgimportclone [-n|--basevgname VolumeGroupName] [-i|--import] PhysicalVolume [PhysicalVolume...] DESCRIPTION
vgimportclone is used to import a duplicated VG (e.g. hardware snapshot). Duplicate VG(s) and PV(s) are not able to be used until they are made to coexist with the origin VG(s) and PV(s). vgimportclone renames the VG associated with the specified PV(s) and changes the associ- ated VG and PV UUIDs. OPTIONS
See lvm for common options. -n|--basevgname VolumeGroupName By default the snapshot VG will be renamed to the original name plus a numeric suffix to avoid duplicate naming (e.g. 'test_vg' would be renamed to 'test_vg1'). This option will override the base VG name that is used for all VG renames. If a VG already exists with the specified name a numeric suffix will be added (like the previous example) to make it unique. -i|--import Import exported Volume Groups. Otherwise VGs that have been exported will not be changed (nor will their associated PVs). ENVIRONMENT VARIABLES
LVM_BINARY The LVM2 binary to use. Defaults to "lvm". EXAMPLES
The origin VG vg00 has origin PVs /dev/sda and /dev/sdb and the respective snapshot PVs are /dev/sdc and /dev/sdd. To rename the VG asso- ciated with /dev/sdc and /dev/sdd from vg00 to vg00_snap (and to change associated VG and PV UUIDs) do: vgimportclone --basevgname vg00_snap /dev/sdc /dev/sdd SEE ALSO
lvm(8) Red Hat, Inc. LVM TOOLS 2.02.95(2) (2012-03-06) VGIMPORTCLONE(8)
All times are GMT -4. The time now is 08:44 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy