1 |
On Tue, Dec 25, 2012 at 12:25:02AM +0800, Mark David Dumlao wrote: |
2 |
> On Dec 24, 2012 10:00 PM, "Dale" <rdalek1967@×××××.com> wrote: |
3 |
> > I have not |
4 |
> > tested the theory but that is what people have been saying. Not only is |
5 |
> > my /usr separate but it is on LVM partitons too. |
6 |
> |
7 |
> If I recall correctly, easy repartitioning was supposed to be one of the |
8 |
> main reasons wy LVM was made in the first place. ;) |
9 |
|
10 |
mingdao@server ~ $ df -hT |
11 |
Filesystem Type Size Used Avail Use% Mounted on |
12 |
rootfs rootfs 2.0G 93M 1.9G 5% / |
13 |
/dev/root xfs 2.0G 93M 1.9G 5% / |
14 |
tmpfs tmpfs 3.0G 284K 3.0G 1% /run |
15 |
udev devtmpfs 10M 4.0K 10M 1% /dev |
16 |
shm tmpfs 3.0G 0 3.0G 0% /dev/shm |
17 |
cgroup_root tmpfs 10M 0 10M 0% /sys/fs/cgroup |
18 |
/dev/mapper/system-var xfs 10G 737M 9.3G 8% /var |
19 |
/dev/mapper/system-usr xfs 10G 4.3G 5.8G 43% /usr |
20 |
/dev/mapper/system-home xfs 6.0G 5.0G 1023M 84% /home |
21 |
/dev/mapper/storage-photos xfs 500G 19G 482G 4% /photos |
22 |
/dev/mapper/storage-backups xfs 500G 313G 188G 63% /backups |
23 |
/dev/mapper/storage-offload fuseblk 300G 262G 39G 88% /offload |
24 |
/dev/mapper/storage-peter xfs 25G 1.7G 24G 7% /peter |
25 |
/dev/mapper/storage-jeremiah xfs 10G 2.5G 7.5G 25% /jeremiah |
26 |
|
27 |
server ~ # vgdisplay |
28 |
--- Volume group --- |
29 |
VG Name storage |
30 |
System ID |
31 |
Format lvm2 |
32 |
Metadata Areas 1 |
33 |
Metadata Sequence No 10 |
34 |
VG Access read/write |
35 |
VG Status resizable |
36 |
MAX LV 0 |
37 |
Cur LV 5 |
38 |
Open LV 5 |
39 |
Max PV 0 |
40 |
Cur PV 1 |
41 |
Act PV 1 |
42 |
VG Size 1.82 TiB |
43 |
PE Size 4.00 MiB |
44 |
Total PE 476834 |
45 |
Alloc PE / Size 341760 / 1.30 TiB |
46 |
Free PE / Size 135074 / 527.63 GiB |
47 |
VG UUID 5ifFA3-FEME-tAne-s8pd-D5Zr-5MhY-GzLjGS |
48 |
|
49 |
--- Volume group --- |
50 |
VG Name system |
51 |
System ID |
52 |
Format lvm2 |
53 |
Metadata Areas 1 |
54 |
Metadata Sequence No 7 |
55 |
VG Access read/write |
56 |
VG Status resizable |
57 |
MAX LV 0 |
58 |
Cur LV 3 |
59 |
Open LV 3 |
60 |
Max PV 0 |
61 |
Cur PV 1 |
62 |
Act PV 1 |
63 |
VG Size 64.29 GiB |
64 |
PE Size 4.00 MiB |
65 |
Total PE 16459 |
66 |
Alloc PE / Size 6656 / 26.00 GiB |
67 |
Free PE / Size 9803 / 38.29 GiB |
68 |
VG UUID vxWFrl-cfeA-YTGe-oMCF-Muei-wSbe-uLKiq9 |
69 |
|
70 |
mingdao@server ~ $ cat /proc/mdstat |
71 |
Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] [multipath] |
72 |
md3 : active raid10 sdg1[2] sde1[0] sdh1[3] sdf1[1] |
73 |
1953115136 blocks super 1.2 512K chunks 2 near-copies [4/4] [UUUU] |
74 |
|
75 |
md1 : active raid6 sdc2[2] sdd2[3] sdb2[1] sda2[0] |
76 |
67418112 blocks level 6, 512k chunk, algorithm 2 [4/4] [UUUU] |
77 |
|
78 |
md0 : active raid1 sdc1[2] sdd1[3] sdb1[1] sda1[0] |
79 |
2097088 blocks [4/4] [UUUU] |
80 |
|
81 |
unused devices: <none> |
82 |
|
83 |
mingdao@server ~ $ egrep -v "(^#|^ *$)" /etc/fstab |
84 |
/dev/md0 / xfs inode64,logbsize=262144 0 1 |
85 |
/var/swapfile1 swap swap defaults 0 0 |
86 |
/dev/system/var /var xfs defaults 0 0 |
87 |
/dev/system/usr /usr xfs defaults 0 0 |
88 |
/dev/system/home /home xfs defaults 0 0 |
89 |
/dev/storage/photos /photos xfs users,rw 0 0 |
90 |
/dev/storage/backups /backups xfs users,rw 0 0 |
91 |
/dev/storage/offload /offload ntfs defaults 0 0 |
92 |
/dev/storage/peter /peter xfs defaults 0 0 |
93 |
/dev/storage/jeremiah /jeremiah xfs defaults 0 0 |
94 |
/dev/cdrom /mnt/cdrom auto noauto,ro 0 0 |
95 |
|
96 |
mingdao@server ~ $ egrep -v "(^#|^ *$)" /etc/lilo.conf |
97 |
compact |
98 |
lba32 |
99 |
boot = /dev/md0 |
100 |
raid-extra-boot = mbr-only |
101 |
map = /boot/.map |
102 |
install = /boot/boot-menu.b # Note that for lilo-22.5.5 or later you |
103 |
# do not need boot-{text,menu,bmp}.b in |
104 |
# /boot, as they are linked into the lilo |
105 |
# binary. |
106 |
menu-scheme=Wb |
107 |
prompt |
108 |
timeout=50 |
109 |
append="panic=10 nomce dolvm domdadm rootfstype=xfs" |
110 |
image = /boot/vmlinuz |
111 |
root = /dev/md0 |
112 |
label = Gentoo |
113 |
read-only # Partitions should be mounted read-only for checking |
114 |
image = /boot/vmlinuz.old |
115 |
root = /dev/md0 |
116 |
label = Gentoo-def |
117 |
read-only # Partitions should be mounted read-only for checking |
118 |
|
119 |
|
120 |
|
121 |
|
122 |
No initrd... |
123 |
-- |
124 |
Happy Penguin Computers >') |
125 |
126 Fenco Drive ( \ |
126 |
Tupelo, MS 38801 ^^ |
127 |
support@×××××××××××××××××××××.com |
128 |
662-269-2706 662-205-6424 |
129 |
http://happypenguincomputers.com/ |
130 |
|
131 |
Don't top-post: http://en.wikipedia.org/wiki/Top_post#Top-posting |