1 |
Apparently, though unproven, at 12:49 on Friday 19 November 2010, Marius |
2 |
Vaitiekunas did opine thusly: |
3 |
|
4 |
> Hi, |
5 |
> One question about ext4. Is it possible to resize partition without |
6 |
> unmounting it like on reiserfs filesystem? |
7 |
|
8 |
Yes, you can grow a mounted filesystem, just not shrink it. Most decent Unix |
9 |
filesystems support this, I think xfs is the only one in common use that |
10 |
doesn't. |
11 |
|
12 |
|
13 |
|
14 |
|
15 |
> |
16 |
> On Fri, Nov 19, 2010 at 11:04 AM, Alan McKinnon |
17 |
<alan.mckinnon@×××××.com>wrote: |
18 |
> > Apparently, though unproven, at 03:44 on Friday 19 November 2010, Walter |
19 |
> > Dnes |
20 |
> > |
21 |
> > did opine thusly: |
22 |
> > > On Wed, Nov 17, 2010 at 10:20:52PM -0600, Dale wrote |
23 |
> > > |
24 |
> > > > This is mine and it worked when I rebooted a bit ago. |
25 |
> > > > |
26 |
> > > > LABEL=boot /boot ext2 noatime 1 2 |
27 |
> > > > LABEL=root / reiserfs defaults 0 1 |
28 |
> > > > LABEL=swap none swap sw 0 0 |
29 |
> > > > LABEL=portage /usr/portage ext3 defaults 0 1 |
30 |
> > > > LABEL=home /home reiserfs defaults 1 1 |
31 |
> > > > LABEL=data /data reiserfs defaults 0 1 |
32 |
> > > > |
33 |
> > > > I use a variety of file systems don't I? lol I hope that helps. |
34 |
> > > > |
35 |
> > > I have my own weird setup that optimizes disk usage, without LVM. It |
36 |
> > > |
37 |
> > > consists of a 256 *MEGA*byte / partition (ext2fs), some swap, and the |
38 |
> > > rest of the drive is one big reiserfs3 partition mounted as /home. |
39 |
> > > /opt, /var, /usr/, and /tmp physically reside on the big /home |
40 |
> > > partition, but are bindmounted into the / partition. |
41 |
> > > |
42 |
> > > Device Boot Start End Blocks Id System |
43 |
> > > |
44 |
> > > /dev/sda1 1 121601 976760001 5 Extended |
45 |
> > > /dev/sda5 1 33 265009+ 83 Linux |
46 |
> > > /dev/sda6 34 1209 9446188+ 82 Linux swap / |
47 |
> > > Solaris /dev/sda7 1210 121601 967048708+ 83 Linux |
48 |
> > > |
49 |
> > > /dev/sda5 / ext2 noatime,nodiratime,async |
50 |
> > > 0 1 /dev/sda7 /home reiserfs |
51 |
> > > noatime,nodiratime,async,notail 0 1 /home/bindmounts/opt /opt |
52 |
> > |
53 |
> > auto |
54 |
> > |
55 |
> > > bind 0 0 /home/bindmounts/var /var |
56 |
> > > |
57 |
> > > auto bind 0 0 /home/bindmounts/usr |
58 |
> > > /usr |
59 |
> > > |
60 |
> > > auto bind 0 0 /home/bindmounts/tmp |
61 |
> > > |
62 |
> > > /tmp auto bind 0 0 /dev/sda6 |
63 |
> > > |
64 |
> > > none swap sw 0 0 |
65 |
> > |
66 |
> > Let me optimize that for you a little bit more: |
67 |
> > |
68 |
> > A single 1T reiser3 partition mounted at / |
69 |
> > |
70 |
> > This will optimize away the small performance loss introduced by that |
71 |
> > (empty) |
72 |
> > / on ext2 |
73 |
> > |
74 |
> > Seriously dude, this looks like a dumb scheme that gives you warm and |
75 |
> > fuzzies |
76 |
> > but doesn't actually accomplish anything except increased complexity. |
77 |
> > |
78 |
> > Feel free to publish verifiable metrics to back up your case. |
79 |
> > |
80 |
> > |
81 |
> > -- |
82 |
> > alan dot mckinnon at gmail dot com |
83 |
|
84 |
-- |
85 |
alan dot mckinnon at gmail dot com |