What is /dev/mapper/VolGroup00-LogVol00 and what does it stands for ?
[root@abc ~]# df -h
Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00 130G 5.5G 118G 5% / /dev/sda1 99M 13M 82M 14% /boot tmpfs 2.0G 0 2.0G 0% /dev/shm [root@abc ~]# What is /dev/mapper/VolGroup00-LogVol00 and what does it stands for ? I alocated some space (100GB) from a storage for my abc server and now i need to see it (the 100GB space) so i can format the space so it can be available. The 100GB space i have alocated from a storage server, it's for backups. I've read this: http://en.wikipedia.org/wiki/Logical_volume_management and this: http://docs.fedoraproject.org/fedora...ioning-general 5.1.2. Understanding LVM I still don't undertand how would i know if /dev/mapper/VolGroup00-LogVol00 is the VLM of the existing hdd of abc server or if it is the 100GB i have alocated from the storage server. Now i don't know if /dev/mapper/VolGroup00-LogVol00 it's a generic linux name for hdd or if it came up cause i have alocated 100GB from the storage. Point is, if it is the 100GB space *(unalocated) i want to alocate them, how do i do that ? I need to know these commands anyway. |
It is an LVM logical volume
lvdisplay to see logival volumes vgdisplay to see volume groups pvdisplay to see physical volumes Basically, pv are 'real' partition, grouped in vg and lv are 'virtual' partitions taken from vg space |
Quote:
Please explaing me as if i were a noob, so i can understand better. :) |
please post the output of lvdisplay, vgdisplay and pvdisplay
|
here man, there you go :) :
[root@abc ~]# lvdisplay /dev/hda: open failed: No medium found --- Logical volume --- LV Name /dev/VolGroup00/LogVol00 VG Name VolGroup00 LV UUID 6rktp1-AvE2-G2ty-qsTl-ql7t-8QX3-VXht1t LV Write Access read/write LV Status available # open 1 LV Size 134.06 GB Current LE 4290 Segments 1 Allocation inherit Read ahead sectors 0 Block device 253:0 --- Logical volume --- LV Name /dev/VolGroup00/LogVol01 VG Name VolGroup00 LV UUID mVVDVc-3NKS-DaP0-AZ7f-eyoA-ADuQ-FdierN LV Write Access read/write LV Status available # open 1 LV Size 1.94 GB Current LE 62 Segments 1 Allocation inherit Read ahead sectors 0 Block device 253:1 [root@abc ~]# vgdisplay /dev/hda: open failed: No medium found --- Volume group --- VG Name VolGroup00 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 136.00 GB PE Size 32.00 MB Total PE 4352 Alloc PE / Size 4352 / 136.00 GB Free PE / Size 0 / 0 VG UUID kDWc0Q-9HEw-Rgwg-Bonf-z6Yt-FRQ1-1LK0tq [root@abc ~]# pvdisplay /dev/hda: open failed: No medium found --- Physical volume --- PV Name /dev/sda2 VG Name VolGroup00 PV Size 136.02 GB / not usable 18.29 MB Allocatable yes (but full) PE Size (KByte) 32768 Total PE 4352 Free PE 0 Allocated PE 4352 PV UUID FLsCm4-sFCp-fTH9-Vnn1-MAC0-xJ11-FpvphO And please tell me how do i create chunks of 2GB in those 100GB. For example i want to create 40x2GB chunks and another 2x10GB chunks. Oh yeah, chunks... i like the way it sounds. :)) |
Your is /dev/mapper/VolGroup00-LogVol00 is on /dev/sda2
|
Quote:
btw, i remember now i have 4x 160gb s-ata. 2 of them are on raid0 and the other 2 are unpartitioned. i think sda2 is the other hdd's :) |
I don't get what you want.
Do you want to extend LogVol00 to take 100Gb of additional space from the storage server? What kind of storage server is it? Is it an NFS remote server or is it the local machine that serves storage to other remote clients or is it something else? sda2 is the 2nd partition of the 1st hard drive. I didn't get everything. |
Quote:
I have a storage server which has 40TB and i have alocated 800GB for a server which has informix installed. I have alocated 800GB from the storage to the linux CentOS 5.0 64bit that has informix and i need to create chunks 80x6GB and 10x16GB = 800GB. I need to see those 800GB that i have allocated from the storage so i can create those fuckign chunks. :) You don't need to know what and how and what kind of server is the storage server. I cannot give you that kind of information. AND yes, i want to take 800GB from the LogVol00 (but idk if the LogVol00 is the space allocated fromt he storage). [root@abc dev]# ls bus dvdrw loop2 nst0m pts ram7 sg1 st0m tty10 tty24 tty38 tty51 tty8 usbdev3.1_ep81 vcsa3 cdrom dvdrw-hda loop3 nst1 ram ram8 sg10 st1 tty11 tty25 tty39 tty52 tty9 usbdev4.1_ep00 vcsa4 cdrom-hda dvdwriter loop4 nst1a ram0 ram9 sg2 st1a tty12 tty26 tty4 tty53 ttyS0 usbdev4.1_ep81 vcsa5 cdrw dvdwriter-hda loop5 nst1l ram1 ramdisk sg3 st1l tty13 tty27 tty40 tty54 ttyS1 usbdev4.3_ep00 vcsa6 cdrw-hda fd loop6 nst1m ram10 random sg4 st1m tty14 tty28 tty41 tty55 ttyS2 usbdev4.3_ep81 VolGroup00 cdwriter full loop7 null ram11 rawctl sg5 stderr tty15 tty29 tty42 tty56 ttyS3 vcs X0R cdwriter-hda gpmctl MAKEDEV nvram ram12 root sg6 stdin tty16 tty3 tty43 tty57 urandom vcs1 zero changer hda mapper oldmem ram13 rtc sg7 stdout tty17 tty30 tty44 tty58 usbdev1.1_ep00 vcs2 changer-sg3 hpet mcelog parport0 ram14 sda sg8 systty tty18 tty31 tty45 tty59 usbdev1.1_ep81 vcs3 console initctl md0 parport1 ram15 sda1 sg9 tape tty19 tty32 tty46 tty6 usbdev2.1_ep00 vcs4 core input mem parport2 ram2 sda2 shm tape-nst0 tty2 tty33 tty47 tty60 usbdev2.1_ep81 vcs5 cpu kmsg net parport3 ram3 sdb snapshot tape-nst1 tty20 tty34 tty48 tty61 usbdev2.3_ep00 vcs6 disk log nst0 port ram4 sdc st0 tty tty21 tty35 tty49 tty62 usbdev2.3_ep81 vcsa dvd loop0 nst0a ppp ram5 sdd st0a tty0 tty22 tty36 tty5 tty63 usbdev2.3_ep82 vcsa1 dvd-hda loop1 nst0l ptmx ram6 sg0 st0l tty1 tty23 tty37 tty50 tty7 usbdev3.1_ep00 vcsa2 I see there are: sda, sda1, sda2, sdb, sdc, sdd. I repeat, i have 4 S-ATA HDD's 2 of them are on raid0 (mirroring) and the other 2 are untouched ! untouched means i didn't create partitions, i didn't do anything to them. :) |
Please advice. :)
That, with the 100GB was an example, i didn't want to give the real info... |
So, how did you allocate those 800GB and to what and where? Why can't you see them? Is the CentOS machine the local machine we are talking about that has the /dev/sda2 and Lvol00 on it?
|
Wait a minute, i see `em :)
[root@abc dev]# 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 17769 142625070 8e Linux LVM Disk /dev/sdb: 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 Disk /dev/sdc: 858.9 GB, 858993459200 bytes 255 heads, 63 sectors/track, 104433 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk /dev/sdc doesn't contain a valid partition table [root@abc dev]# F*** yeah ! :)) Ok, the work here it's done. Now i need those commands in order to create those chunks. |
*confused*
|
Quote:
Now i need those commands to create chunks (blocks) not raw devices and i need to create 80 chunks of 8GB and 10 chunks of 16GB, in total is 800GB. Is anyone out there that knows those commands ? |
Quote:
|
All times are GMT -5. The time now is 06:30 AM. |