PS C:\> $wql = "SELECT Label, Blocksize, Name FROM
Win32_Volume WHERE FileSystem='NTFS'"
PS C:\> Get-WmiObject -Query $wql -ComputerName '.' |
Select-Object Label, Blocksize, Name
new_logical_volume that consists of the disks at /dev/sda1, /dev/sdb1, and /dev/sdc1.pvcreatecommand./dev/sda1, /dev/sdb1, and /dev/sdc1.# pvcreate /dev/sda1 /dev/sdb1 /dev/sdc1
Physical volume "/dev/sda1" successfully created
Physical volume "/dev/sdb1" successfully created
Physical volume "/dev/sdc1" successfully created
#Another Example:
pvcreate /dev/mapper/mpathx
new_vol_group.# vgcreate new_vol_group /dev/sda1 /dev/sdb1 /dev/sdc1
Volume group "new_vol_group" successfully created
vgs command to display the attributes of the new volume group.# vgs
VG #PV #LV #SN Attr VSize VFree
new_vol_group 3 0 0 wz--n- 51.45G 51.45G
new_logical_volume from the volume group new_vol_group. This example creates a logical volume that uses 2 gigabytes of the volume group.# lvcreate -L 2 G -n new_logical_volume new_vol_group
Logical volume "new_logical_volume" created
#Another Example: lvcreate -l 100%FREE -n new_logical_volume new_vol_group
# mkfs.gfs2 -p lock_nolock -j 1 /dev/new_vol_group/new_logical_volume This will destroy any data on /dev/new_vol_group/new_logical_volume. Are you sure you want to proceed? [y/n] y Device: /dev/new_vol_group/new_logical_volume Blocksize: 4096 Filesystem Size: 491460 Journals: 1 Resource Groups: 8 Locking Protocol: lock_nolock Lock Table: Syncing... All Done #Another Example: mkfs.xfs /dev/vgx/lgx mkfs.xfs /dev/mapper/vg..
# mount /dev/new_vol_group/new_logical_volume /mnt # df Filesystem 1K-blocks Used Available Use% Mounted on /dev/new_vol_group/new_logical_volume 1965840 20 1965820 1% /mnt
Raporları oluşturmak için Flex üzerindeki master server'a PuTTY üzerinden appadmin ile giriş yapın ve "sudo -i" ile root kulla...