w11的安装目录,w11安装密钥无效

首页 > 经验 > 作者:YD1662022-11-03 22:53:50

3)验证共享盘,启动两节点,node1先启动,node2随后再启动。

检查两节点都能看到同一块共享盘

[root@tim1 ~]# ls -al /dev/sd* [root@tim2 ~]# ls -al /dev/sd*

sda表示第一块磁盘

sda1表示第一块磁盘的第一个分区

sda2表示第一块磁盘的第二个分区

sdb表示第二块磁盘

sdc 表示第三块磁盘

w11的安装目录,w11安装密钥无效(5)

3.3分区并格式化本地盘(这就是/u01)

Node1:

整个一个区都给它:

[root@tim1 ~]# fdisk /dev/sdb

Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel Building a new DOS disklabel. Changes will remain in memory only, until you decide to write them. After that, of course, the previous content won't be recoverable. The number of cylinders for this disk is set to 2610. 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) Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite) Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 1 First cylinder (1-2610, default 1): enter Using default value 1 Last cylinder or size or sizeM or sizeK (1-2610, default 2610): Using default value 2610 Command (m for help): w The partition table has been altered! Calling ioctl() to re-read partition table. Syncing disks.

Node2:同上

3.4分配共享盘

共10个分区(1 1 1) (5 5) (4 4) (3 3 3)=30G

Node1:

[root@tim1 ~]# fdisk /dev/sdc

Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel Building a new DOS disklabel. Changes will remain in memory only, until you decide to write them. After that, of course, the previous content won't be recoverable. The number of cylinders for this disk is set to 3916. 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) Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite) Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 1 First cylinder (1-3916, default 1): enter Using default value 1 Last cylinder or size or sizeM or sizeK (1-3916, default 3916): 1G Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 2 First cylinder (124-3916, default 124):enter Using default value 124 Last cylinder or size or sizeM or sizeK (124-3916, default 3916): 1G Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 3 First cylinder (247-3916, default 247):enter Using default value 247 Last cylinder or size or sizeM or sizeK (247-3916, default 3916): 1G Command (m for help): n Command action e extended p primary partition (1-4) e 开始扩展分区 Selected partition 4 First cylinder (370-3916, default 370):enter Using default value 370 Last cylinder or size or sizeM or sizeK (370-3916, default 3916): enter Using default value 3916 Command (m for help): n First cylinder (370-3916, default 370):enter Using default value 370 Last cylinder or size or sizeM or sizeK (370-3916, default 3916): 5G Command (m for help): n First cylinder (979-3916, default 979):enter Using default value 979 Last cylinder or size or sizeM or sizeK (979-3916, default 3916): 5G Command (m for help): n First cylinder (1588-3916, default 1588):enter Using default value 1588 Last cylinder or size or sizeM or sizeK (1588-3916, default 3916): 4G Command (m for help): n First cylinder (2075-3916, default 2075):enter Using default value 2075 enter Last cylinder or size or sizeM or sizeK (2075-3916, default 3916): 4G Command (m for help): n First cylinder (2562-3916, default 2562):enter Using default value 2562 Last cylinder or size or sizeM or sizeK (2562-3916, default 3916): 3G Command (m for help): n First cylinder (2928-3916, default 2928):enter Using default value 2928 Last cylinder or size or sizeM or sizeK (2928-3916, default 3916): 3G Command (m for help): n First cylinder (3294-3916, default 3294): enter Using default value 3294 Last cylinder or size or sizeM or sizeK (3294-3916, default 3916): 3G Command (m for help): w The partition table has been altered! Calling ioctl() to re-read partition table. Syncing disks.

Node2: 不需做共享分区,能看到共享盘就行了。

w11的安装目录,w11安装密钥无效(6)

w11的安装目录,w11安装密钥无效(7)

两个节点看到磁盘分区是一模一样的,如果Node2看不到盘,可能需要查探一下。

[root@tim2 dev]# partprobe /dev/sdc

3.5将本地盘/dev/sdb1分别格式化,然后自动挂载:

Node1:

[root@tim1 ~]# mkfs.ext3 /dev/sdb1 [root@tim1 ~]# mount /dev/sdb1 /u01 [root@tim3 ~]# df [root@tim1 ~]# vi /etc/fstab

最后一行添加,下次启动有效:

/dev/sdb1 /u01 ext3 defaults 0 0

Node2:同上

w11的安装目录,w11安装密钥无效(8)

上一页123下一页

栏目热文

文档排行

本站推荐

Copyright © 2018 - 2021 www.yd166.com., All Rights Reserved.