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