1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | [root@pghafs03] > mount node mounted mounted over vfs date options -------- --------------- --------------- ------ ------------ --------------- /dev/hd4 / jfs2 Mar 11 08:15 rw,log=/dev/hd8 /dev/hd2 /usr jfs2 Mar 11 08:15 rw,log=/dev/hd8 /dev/hd9var /var jfs2 Mar 11 08:15 rw,log=/dev/hd8 /dev/hd3 /tmp jfs2 Mar 11 08:15 rw,log=/dev/hd8 /dev/hd1 /home jfs2 Mar 11 08:15 rw,log=/dev/hd8 /dev/hd11admin /admin jfs2 Mar 11 08:15 rw,log=/dev/hd8 /proc /proc procfs Mar 11 08:15 rw /dev/hd10opt /opt jfs2 Mar 11 08:15 rw,log=/dev/hd8 /dev/livedump /var/adm/ras/livedump jfs2 Mar 11 08:15 rw,log=/dev/hd8 /dev/lvvarlog /var/log jfs2 Mar 11 08:15 rw,log=/dev/hd8 /dev/lvafslogs /usr/afs/logs jfs2 Mar 11 08:15 rw,log=/dev/hd8 /dev/lvscm /opt/IBM/SCM jfs2 Mar 11 08:15 rw,log=/dev/hd8 /dev/ramdisk0 /usr/vice/cache jfs Mar 11 08:15 rw,nointegrity AFS /afs afs Mar 11 08:17 rw /dev/fslv00 /testvg jfs Mar 19 08:30 rw,log=/dev/loglv06 /dev/lv01 /vicepa jfs May 24 00:47 rw,log=/dev/loglv01 /dev/lv02 /vicepb jfs May 24 00:47 rw,log=/dev/loglv02 /dev/lv03 /vicepc jfs May 24 00:47 rw,log=/dev/loglv03 /dev/lv04 /vicepd jfs May 24 00:47 rw,log=/dev/loglv04 /dev/lv05 /vicepe jfs May 24 00:47 rw,log=/dev/loglv05 /dev/lv00 /vicepf jfs May 24 00:47 rw,log=/dev/loglv00 [root@pghafs03] > |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | [root@pghafs03] > ps -ef | grep server root 7274520 8781978 0 May 24 - 0:01 /usr/afs/bin/volserver -log -p 16 root 8781978 1 0 Mar 12 - 0:06 /usr/afs/bin/bosserve rroot 13041896 8781978 0 May 24 - 0:04 /usr/afs/bin/fileserver -hr 24 -L -m 1 -cb 128000 -rxpck 2500 -p 256 -udpsize 1048576 -implicit rl -nojumbo -seclog -vc 1200 -s 1800 -l 1200 -b 180 [root@pghafs03] > kill -SIGUSR1 13041896 [root@pghafs03] > FileLog:Mon May 27 00:56:23 2013 Marked fileserver as VBUSY for partition movement Clients start getting VBUSY message. afs: Waiting for busy volume 536894431 (indira.e.1) in cell test36.transarc.com afs: Waiting for busy volume 536894431 (indira.e.1) in cell test36.transarc.com |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | [root@pghafs03] > vos detachpart -fromserver pghafs03 -partition all -c test36 vos detachpart: Parsing all partitions... vos detachpart: Detaching all partitions from server pghafs03...please check logs for successful completion [root@pghafs03] > All volumes will be marked as offline. [root@pghafs03] > vos exam 536892892 -c test36 atd.virt.f.691 536892892 RW 2 K Off-line pghafs03.rchland.ibm.com /vicepf RWrite 536892892 ROnly 0 Backup 0 MaxQuota 100000 K Creation Tue Mar 19 10:43:01 2013 Last Update Tue Mar 19 10:48:38 2013 Last Access Tue Apr 9 06:53:54 2013 0 accesses in the past day (i.e., vnode references) RWrite: 536892892 number of sites -> 1 server pghafs03.rchland.ibm.com partition /vicepf RW Site [root@pghafs03] > FileLog:Mon May 27 00:56:36 2013 vos detachpart : Making all volumes offline... Mon May 27 00:56:36 2013 VShutdown:shutting down on- line volumes... Mon May 27 00:56:36 2013 VShutdown: complete. Mon May 27 00:56:36 2013 vos detachpart : Made all volumes offline... |
1 2 3 | [root@pghafs03] > bos restart -server pghafs02 -instance fs -c test36 [root@pghafs03] > |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | [root@pghafs03] > vos attachpart -fromserver pghafs03 -toserver pghafs02 -partition all -c test36 vos attachpart: Parsing all partitions... vos attachpart: Attached all partitions to server pghafs02 from server pghafs03... please check logs for successful completion [root@pghafs03]> FileLog: Mon May 27 01:00:45 2013 vos attachpart : breaking all callbacks for each and every volumes... Mon May 27 01:00:45 2013 VBreakAllCallBack_r: breaking callback on all volumes... Mon May 27 01:00:45 2013 VBreakAllCallBack_r: complete. Mon May 27 01:00:45 2013 vos attachpart : after breaking all callbacks for each and every volumes... |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | [root@pghafs03] > ps -ef |grep server root 7274520 8781978 0 May 24 - 0:02 /usr/afs/bin/volserver -log -p 16 root 8781978 1 0 Mar 12 - 0:06 /usr/afs/bin/bosserver root 13041896 8781978 0 May 24 - 0:04 /usr/afs/bin/fileserver -hr 24 -L -m 1 -cb 128000 -rxpck 2500 -p 256 -udpsize 1048576 -implicit rl -nojumbo -seclog -vc 1200 -s 1800 -l 1200 -b 180 [root@pghafs03] >kill -SIGUSR2 13041896 [root@pghafs03] > FileLog: Mon May 27 01:01:32 2013 Unmarked fileserver from VBUSY as partition movement is done |
1 2 3 4 5 6 | [root@pghafs03] > bos shutdown -server pghafs03 -instance fs -c test36 [root@pghafs03] > ps -ef| grep server root 8781978 1 0 Mar 12 - 0:06 /usr/afs/bin/bosserver [root@pghafs03]> |
欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) | Powered by Discuz! 7.0.0 |