Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #170823
| From | limpia <limpia@openmailbox.org> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Help on investigating partition-related changes |
| Date | 2016-08-07 22:30 +0200 |
| Message-ID | <s3CRP-5t-15@gated-at.bofh.it> (permalink) |
| References | <s3wCJ-4si-13@gated-at.bofh.it> <s3xp7-4Zy-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
It would depend on a lot things(details that you have not included), but agreed, I don't know of a command or direct way, unless you have a recent backup or copy of the partition tables, you could compare the current sizes to. To start with : What makes you think it may have been resized ? What version of Debian ? As far as "logs" go, I don't know on Debian 8 Jessie,... How do you think it got resized or shrunk ? On 2016-08-07 09:35, Pascal Hambourg wrote: > Le 07/08/2016 à 14:43, Parsa Hassan Abadi a écrit : >> >> Is there any way to see if a partition has been resized or shrunk? Any >> log, any >> command, anything?? > > AFAIK there is no direct way. > > The only idea which comes into my mind is to examine the contents > (e.g. filesystem) metadata of the partition. If the size recorded in > the metadata does not match the size of the partition, it may have > been resized. Even if the contents has been resized too, some metadata > may not have been updated to reflect the new size. For instance, the > number of inodes in an ext2/3/4 filesystem is fixed at the creation > and does not change when the filesystem is resized. So, assuming the > filesystem was created with the default values you can compare the > output of e2mkfs in simulation mode and the output of tune2fs -l. -- ¿Cómo no romper Debian :(Don'tBreakDebian) https://wiki.debian.org/es/DontBreakDebian
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Help on investigating partition-related changes Parsa Hassan Abadi <parsa96@icloud.com> - 2016-08-07 15:50 +0200
Re: Help on investigating partition-related changes Pascal Hambourg <pascal@plouf.fr.eu.org> - 2016-08-07 16:40 +0200
Re: Help on investigating partition-related changes limpia <limpia@openmailbox.org> - 2016-08-07 22:30 +0200
Re: Help on investigating partition-related changes Ric Moore <wayward4now@gmail.com> - 2016-08-09 07:50 +0200
Re: Help on investigating partition-related changes limpia <limpia@openmailbox.org> - 2016-08-09 16:00 +0200
Re: Help on investigating partition-related changes Pascal Hambourg <pascal@plouf.fr.eu.org> - 2016-08-09 17:30 +0200
Re: Help on Re: Help on investigating partition-related changes limpia <limpia@openmailbox.org> - 2016-08-09 22:10 +0200
Re: Help Lisi Reisz <lisi.reisz@gmail.com> - 2016-08-10 01:00 +0200
Re: Help limpia <limpia@openmailbox.org> - 2016-08-10 01:50 +0200
Re: Help on investigating partition-related changes Mark Fletcher <mark27q1@gmail.com> - 2016-08-10 01:50 +0200
Re: Help on investigating partition-related changes Lisi Reisz <lisi.reisz@gmail.com> - 2016-08-10 09:30 +0200
Re: Help on investigating partition-related changes Gene Heskett <gheskett@shentel.net> - 2016-08-10 16:50 +0200
Re: Help on investigating partition-related changes Felix Miata <mrmazda@earthlink.net> - 2016-08-07 20:20 +0200
csiph-web