[[PageOutline]] * [http://mkosaki.blog46.fc2.com/blog-entry-1097.html 革命の日々! XFS on x86_64] * [http://togetter.com/li/16598 Togetter - 「xfs stack overflow」] * [http://journal.mycom.co.jp/articles/2011/01/28/how-to-use-zfs-on-linux/index.html 【レビュー】UbuntuでネイティブにZFSを使う方法 | エンタープライズ | マイコミジャーナル] * http://howtoforge.com/native-zfs-on-ubuntu * [http://www.atmarkit.co.jp/flinux/special/drbd01/drbd01a.html @IT:DRBD+iSCSI夢の共演(前編)(1/3)] = LVM = * [http://www.usupi.org/sysad/166.html LVM のスナップショット機能を使ってみる - いますぐ実践! Linuxシステム管理 / Vol.166] * [http://www.atmarkit.co.jp/flinux/rensai/root06/root06a.html @IT:LVMによる自動バックアップ・システムの構築(1/3)] * [http://www.drbd.org/users-guide/ch-lvm.html Chapter 11. Using LVM with DRBD] * [http://www.drbd.jp/users-guide/ch-lvm.html 第11章 DRBDとLVMの使用] * [http://thinkit.co.jp/free/compare/5/9/ ThinkIT 第9回:バックアップにおけるスナップショットの活用 (1/3)] = mount(8) = * man 8 mount > -B, --bind >> Remount a subtree somewhere else (so that its contents are available in both places). See above. * via [http://d.hatena.ne.jp/magicalhat/20081226/1230220014 特定の VirtualHost でのみ SuEXEC したい - ふしぎなぼうし] == 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」という変な場所にコマンドがあるので注意 == 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] = 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] = 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] = testing xfs_growfs = * 結論 * diskの後方に向けて拡張するのは、開始セクタを変えずにパーティションを切り直し、リマウントしてxfs_growfsすればよい * diskの前方に向けて拡張するのは、パーティション内容をあらかじめdd等で移動する手間が必要 * データ総量が十分小さければ、前方にあらかじめ別のパーティションを切り、cpした上で古いパーティションを削除して、新しいパーティションを後方拡張する方が操作ミスを起こしにくいと思われる * LVMを使えばより単純になると思われる * ただし、LVM自体を扱う手間が増える(障害時の復旧手順が複雑化) * see [./xfs_growfs#testingxfs_growfs] = undelete = == ext3 / ext4 == * [http://d.hatena.ne.jp/y-kawaz/20110123/1295779916 Linuxでうっかりrm -rfしちゃったけど復活出来たよー\(^o^)/ - y-kawazの日記] > どうやら [http://extundelete.sourceforge.net/ extundelete] ってのがext3/ext4対応の復活プログラムらしい。