Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #209513
| From | Ross Boylan <rossboylan@stanfordalumni.org> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: df shows wrong disk size |
| Date | 2019-06-02 02:40 +0200 |
| Message-ID | <y4mHv-7aK-1@gated-at.bofh.it> (permalink) |
| References | <y4giJ-39F-1@gated-at.bofh.it> <y4kZ3-650-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Sat, Jun 1, 2019 at 3:49 PM Gary Dale <gary@extremeground.com> wrote: > > I suggest trying gparted to read the partition table on your drive. > There may be a problem and gparted is usually pretty good at finding > partition table errors. > Since the file system is sitting on an LVM logical volume, I don't think the partitioning of the raw disks is directly relevant. The analogue to the partition size is the logical volume size. As my original message showed, LVM does think the volume is 4GB. If the filesystem and the volume manager both agree on 4GB, I don't know where df is getting the notion that it's 3GB. It seems very likely it's a holdover from when I shrunk the filesystem to 3GB. I speculate that when I did the resize2fs that made it 4GB the fact that I didn't explicitly specify a size meant the code path in resize2fs didn't reset something that the explicit shrink to 3GB did set. Ross
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
df shows wrong disk size Ross Boylan <rossboylan@stanfordalumni.org> - 2019-06-01 19:50 +0200
Re: df shows wrong disk size Roberto C. Sánchez <roberto@debian.org> - 2019-06-01 20:50 +0200
Re: df shows wrong disk size Ross Boylan <rossboylan@stanfordalumni.org> - 2019-06-01 23:50 +0200
Re: df shows wrong disk size Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-06-02 00:40 +0200
Re: df shows wrong disk size Ross Boylan <rossboylan@stanfordalumni.org> - 2019-06-02 03:10 +0200
Re: df shows wrong disk size Henning Follmann <hfollmann@itcfollmann.com> - 2019-06-03 12:50 +0200
Re: df shows wrong disk size Ross Boylan <rossboylan@stanfordalumni.org> - 2019-06-03 18:20 +0200
Re: df shows wrong disk size Ross Boylan <rossboylan@stanfordalumni.org> - 2019-06-03 19:40 +0200
Re: df shows wrong disk size Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-06-04 07:30 +0200
Re: df shows wrong disk size Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-06-01 21:20 +0200
Re: df shows wrong disk size Gary Dale <gary@extremeground.com> - 2019-06-02 00:50 +0200
Re: df shows wrong disk size Ross Boylan <rossboylan@stanfordalumni.org> - 2019-06-02 02:40 +0200
Re: df shows wrong disk size Stefan Monnier <monnier@iro.umontreal.ca> - 2019-06-02 17:20 +0200
csiph-web