Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?
#!/bin/bash export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" function backup { orgvol="$1"; # ã¹ãããã·ã§ãããã¹å®ç¾© snapvol="$orgvol-snap_`date '+%Y%m%d%H%M%S'`" if [ -b "$snapvol" ];then echo "$snapvol ãåå¨ãã¾ã" return 9; fi if [ ! -b "$orgvol" ];then echo "$orgvol ãåå¨ãã¾ãã" return 9; fi ret=0 ## LVMèªä½ããã¯ã¢ããç ## ç¡é§ãå¤ãã®ã§ãã #    # ã¹ãããã·ã§ããã®ã¨ãªã¢ãddãã #    echo "ããã¯ã¢ããä¸..." #    if ! ddÂ
LVMã«ããã¹ãããã·ã§ããããã¯ã¢ãã å®å ¨ã«ããã¯ã¢ãããåãã«ã¯ã©ãããã°ããã§ããããï¼ é常ã«é »ç¹ã«ãã¼ã¿ã®æ´æ°ãè¡ããããããªã·ã¹ãã ã®å ´åãã·ã¹ãã ã®ç¨¼åä¸ã«ããã¯ã¢ãããåããã¨ããã¨ãããã¯ã¢ããã®æä¸ã«ãã¼ã¿ãå¤æ´ããã¦ãã¾ãå¯è½æ§ãããã¾ãããã®å ´åãä¸æ£ç¢ºãªæ å ±ãããã¯ã¢ãããããããããã¯ã¢ãããã¼ã¿ãå£ãã¦ãã¾ãå¯è½æ§ãããã¾ãã ããã¯ã大è¦æ¨¡ãªãã¼ã¿ãã¼ã¹ã·ã¹ãã ãéç¨ãã¦ãããããªå ´åã¯ç¹ã«æ³¨æããå¿ è¦ãããã¾ããè¤æ°ã®ãã¡ã¤ã«å士ã«é¢é£æ§ãåå¨ãããããã¡ã¤ã«ãæ´æ°ããããå¥ã®ãã¡ã¤ã«ãæ´æ°ãããªãã¨ãã¼ã¿ã®æ´åæ§ãåããªããªããããªå ´åã«ã¯ãç¹ã«ãã®åé¡ãé¡èã§ããä¾ãã°ããã¡ã¤ã«Aã¨ãã¡ã¤ã«Bãé¢é£ãããã®ã¨ãã¦ã1:00ã«ãã¡ã¤ã«Aã®ããã¯ã¢ãããåãããå¾ã1:30ã«ãã¡ã¤ã«Aãæ´æ°ãããã¨ãã¾ãããã®å¾ã2:00ã«ãã¡ã¤ã«Bãããã¯ã¢ããããã¨
2008/1/7æ´æ° 対å¿ãã¼ã¸ã§ã³: 8 LVM(Logical Volume Manager)ã使ã£ãããªã¥ã¼ã ãä½æããæé ã示ãã ããã§ã¯2ã¤ã®ãã¼ãã£ã·ã§ã³ãä½æããã¦ãããã£ã¹ã¯ã/dev/sdaã(40GB)ã«å¯¾ãã¦æ°ãã«1ã¤ã®ãã¡ã¤ã«ã·ã¹ãã ãå²ãå½ã¦ãæé ã示ãã /dev/sda1 : 2GB /dev/sda2 : 38GB LVMãã¼ãã£ã·ã§ã³ä½æ ã¾ãfdiskã«ã¦åãã¼ãã£ã·ã§ã³ã®ãã¼ãã£ã·ã§ã³ã¿ã¤ãã0x8e(Linux LVM)ã«è¨å®ããã # fdisk /dev/sda Command (m for help): p Disk /dev/sda: 40.9 GB, 40991662080 bytes 64 heads, 32 sectors/track, 39092 cylinders Units = cylinders of 2048 * 512 =
ããã¾ããå®è·µ! Linux ã·ã¹ãã 管çãã¯ãã¡ãã§ãã ã¡ã«ãã¬ã®è§£é¤ãããã¯ãã³ãã¼ãªã©ãã以ä¸ããã©ããã https://www.usupi.org/sysad/ (ã¾ãã¾ã ID:149633) ãã®ä»ãä½è ã«é¢ãããã¼ã¸ã¯ãæ¦ã以ä¸ã«ãããã¾ãã https://www.usupi.org/kuri/ (ã¾ãã¾ã ID:126454) http://usupi.seesaa.net/ (æ æ¥è¨ããã°) https://twitter.com/kuriking/ (twitter) https://facebook.com/kuriking3 (facebook) https://jp.pinterest.com/kuriking/pinterest) https://www.instagram.com/kuri_king_/ (instagram) [ããã¯ãã³ãã¼ã®ãããã¸
ããããã£ã¯ã©ã¦ãã¦ã¼ã¶ã¼ããã°ãã¯ã移転ãã¾ããã èªåã§ãã¼ã¸ã移åããªãå ´åã¯ãä¸è¨ã®ãªã³ã¯ãã¯ãªãã¯ãã æ°ããããããã£ã¯ã©ã¦ãã¦ã¼ã¶ã¼ããã°ããã覧ãã ããã ä»å¾ã¨ãããããã£ã¯ã©ã¦ãã¦ã¼ã¶ã¼ããã°ãããããããé¡ããããã¾ãã ï¼ ãããã£ã¯ã©ã¦ãã¦ã¼ã¶ã¼ããã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}