[[PageOutline]] * [http://thinkit.co.jp/free/compare/5/9/ ThinkIT 第9回:バックアップにおけるスナップショットの活用 (1/3)] * [http://mkosaki.blog46.fc2.com/blog-entry-1097.html 革命の日々! XFS on x86_64] * [http://togetter.com/li/16598 Togetter - 「xfs stack overflow」] = NTFS = * [http://blogs.technet.com/b/extreme/archive/2008/02/19/windows-server-2008-self-healing-ntfs.aspx Windows Server 2008 - Self-healing NTFS - eXtreme. tech. - Site Home - TechNet Blogs] = mount with UUID = * [http://sourceforge.jp/magazine/08/09/18/0148228/2 UUIDを使ったディスクドライブ指定 - SourceForge.JP Magazine] * 「vol_id /dev/*」 でUUIDを取得できる * knoppix(debian)では「/lib/udev/vol_id」という変な場所にコマンドがあるので注意 = swapが複数あるときの優先順位 = * [http://www.linux.com/learn/docs/man/4244-swapon2 swapon.2] * Each swap area has a priority, either high or low. The default priority is low. Within the low-priority areas, newer areas are even lower priority than older areas. * All priorities set with swapflags are high-priority, higher than default. They may have any non-negative value chosen by the caller. Higher numbers mean higher priority. * Swap pages are allocated from areas in priority order, highest priority first. For areas with different priorities, a higher-priority area is exhausted before using a lower-priority area. If two or more areas have the same priority, and it is the highest priority available, pages are allocated on a round-robin basis between them. * [http://ubuntuforums.org/showthread.php?t=38613 SWAP Priority Setting - Ubuntu Forums] = mount disk image = * [http://lostman-worlds-end.blogspot.com/2009/05/blog-post_18.html (鬱とSEと)コンピュータ: ディスクイメージのマウント] * [http://ubuntuforums.org/showthread.php?t=711773 mount dd image of and entire disk - Ubuntu Forums] = testing xfs_growfs = * 結論 * diskの後方に向けて拡張するのは、開始セクタを変えずにパーティションを切り直し、リマウントしてxfs_growfsすればよい * diskの前方に向けて拡張するのは、パーティション内容をあらかじめdd等で移動する手間が必要 * データ総量が十分小さければ、前方にあらかじめ別のパーティションを切り、cpした上で古いパーティションを削除して、新しいパーティションを後方拡張する方が操作ミスを起こしにくいと思われる * LVMを使えばより単純になると思われる * ただし、LVM自体を扱う手間が増える(障害時の復旧手順が複雑化) * see [./xfs_growfs#testingxfs_growfs]