Вы находитесь на странице: 1из 5

[root@LINIX-SRV1 /]# fdisk /dev/cciss/c0d0 The number of cylinders for this disk is set to 109406.

There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Command (m for help): p Disk /dev/cciss/c0d0: 899.8 GB, 899898718208 bytes 255 heads, 63 sectors/track, 109406 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot /dev/cciss/c0d0p1 * /dev/cciss/c0d0p2 /dev/cciss/c0d0p3 /dev/cciss/c0d0p4 /dev/cciss/c0d0p5 /dev/cciss/c0d0p6 /dev/cciss/c0d0p7 /dev/cciss/c0d0p8 /dev/cciss/c0d0p9 /dev/cciss/c0d0p10 /dev/cciss/c0d0p11 /dev/cciss/c0d0p12 /dev/cciss/c0d0p13 Start 1 132 10575 13186 13186 15797 18408 20366 21671 22045 25781 29517 33253 End 131 Blocks Id System 1052226 83 Linux

10574 83883397+ 82 Linux swap / Solaris 13185 20972857+ 83 Linux 109406 772895182+ 5 Extended 15796 20972826 83 Linux 18407 20972826 83 Linux 20365 15727603+ 83 Linux 21670 10482381 83 Linux 22044 3004123+ 83 Linux

25780 30009388+ 83 Linux 29516 30009388+ 83 Linux 33252 30009388+ 83 Linux 39478 50010313+ 83 Linux

/dev/cciss/c0d0p14 /dev/cciss/c0d0p15

39479 43215

43214 30009388+ 83 Linux 61889 150006906 83 Linux

Command (m for help): d Partition number (1-15): 15 Command (m for help): w The partition table has been altered! Calling ioctl() to re-read partition table. WARNING: Re-reading the partition table failed with error 16: Device or resource busy. The kernel still uses the old table. The new table will be used at the next reboot. Syncing disks. [root@LINIX-SRV1 /]# partprobe [root@LINIX-SRV1 /]# fdisk /dev/cciss/c0d0 The number of cylinders for this disk is set to 109406. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Command (m for help): n First cylinder (43215-109406, default 43215): Using default value 43215 Last cylinder or +size or +sizeM or +sizeK (43215-109406, default 109406): +307200M

Command (m for help): w

The partition table has been altered! Calling ioctl() to re-read partition table. WARNING: Re-reading the partition table failed with error 16: Device or resource busy. The kernel still uses the old table. The new table will be used at the next reboot. Syncing disks. [root@LINIX-SRV1 /]# partprobe [root@LINIX-SRV1 /]# [root@LINIX-SRV1 /]# clear [root@LINIX-SRV1 /]# fdisk -l Disk /dev/cciss/c0d0: 899.8 GB, 899898718208 bytes 255 heads, 63 sectors/track, 109406 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot /dev/cciss/c0d0p1 * /dev/cciss/c0d0p2 /dev/cciss/c0d0p3 /dev/cciss/c0d0p4 /dev/cciss/c0d0p5 /dev/cciss/c0d0p6 /dev/cciss/c0d0p7 /dev/cciss/c0d0p8 /dev/cciss/c0d0p9 /dev/cciss/c0d0p10 /dev/cciss/c0d0p11 Start 1 132 10575 13186 13186 15797 18408 20366 21671 22045 25781 End 131 Blocks Id System 1052226 83 Linux

10574 83883397+ 82 Linux swap / Solaris 13185 20972857+ 83 Linux 109406 772895182+ 5 Extended 15796 20972826 83 Linux 18407 20972826 83 Linux 20365 15727603+ 83 Linux 21670 10482381 83 Linux 22044 3004123+ 83 Linux

25780 30009388+ 83 Linux 29516 30009388+ 83 Linux

/dev/cciss/c0d0p12 /dev/cciss/c0d0p13 /dev/cciss/c0d0p14 /dev/cciss/c0d0p15 [root@LINIX-SRV1 /]#

29517 33253 39479 43215

33252 30009388+ 83 Linux 39478 50010313+ 83 Linux 43214 30009388+ 83 Linux 80563 300005811 83 Linux

[root@LINIX-SRV1 /]# pvcreate /dev/cciss/c0d0p15 Physical volume "/dev/cciss/c0d0p15" successfully created [root@LINIX-SRV1 /]# pvdisplay "/dev/cciss/c0d0p15" is a new physical volume of "286.11 GB" --- NEW Physical volume --PV Name VG Name PV Size Allocatable PE Size (KByte) Total PE Free PE Allocated PE 0 0 0 286.11 GB NO 0 /dev/cciss/c0d0p15

[root@LINIX-SRV1 /]# vgcreate vg01 /dev/cciss/c0d0p15 Volume group "vg01" successfully created [root@LINIX-SRV1 /]# [root@LINIX-SRV1 /]# lvcreate -L 25G -n lv_NEW4 vg01 Logical volume "lv_NADB4" created [root@LINIX-SRV1 /]# mkfs.ext3 -m 0 /dev/vg01/lv_NEW4 mke2fs 1.39 (29-May-2006)

Filesystem label= OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2) 3276800 inodes, 6553600 blocks 0 blocks (0.00%) reserved for the super user First data block=0 Maximum filesystem blocks=4294967296 200 block groups 32768 blocks per group, 32768 fragments per group 16384 inodes per group Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 4096000

Writing inode tables: done Creating journal (32768 blocks): done Writing superblocks and filesystem accounting information: done This filesystem will be automatically checked every 27 mounts or 180 days, whichever comes first. Use tune2fs -c or -i to override. [root@LINIX-SRV1 /]# cp /etc/fstab /etc/fstab_05_08_2011

Вам также может понравиться