In a way it wasn't a surprise. Ext4 and myself have had our troubles before but that was a long time ago. Then, two days ago, I decided to shrink sda1 to make space for a new partition and install one of the many new distributions I was hoping to try out. This happened to be the latest snapshot of Zenwalk which is based in Slackware64-Current.
As far as I know there aren't any official, fully tested stable releases of Zenwalk any more so this is probably beta quality. Unfortunately Zenwalk also does not seem to have any users these days so there isn't much scope for testing anyways. Nevertheless, as a former Zenwalk user, going back about 12 years or so, and somebody who enjoys using Slackware I thought it's time for catching up with this lovely, minimal and fast distribution. At least that's how I remember it.
While in the installer I launched cfdisk to resize the partition which worked a treat, rebooted, installed the old Zen and off we went. Yeah, until I tried booting into the other distribution on sda1, which btw uses the ext4 file system by default for new installs. Which I always thought was a bad choice but had gone with this time. It had been a "give it another chance, what can possibly go wrong, surely after all this time it has matured" decision. Gparted confirmed the partition table was corrupted and simply trying to fix it did not work. Next step: SystemRescueCD. A truly fine piece which I can only recommend to anyone in a similar situation. It has about anything one could want onboard for file system errors and data recovery and it actually works. It wasn't able to fix my partition table - even testdisk complained that "it is too corrupted for me" - but recovering worked great. As it was still able to read inside my partition I was able to transfer all relevant files, i.e. the ones deemed worth keeping, to another drive, several gigs of it. That's right, all the data was still in my corrupted partition and just waiting to be read.
So far so good. A format later a backup of that distribution is back on and it's almost as if nothing happened, only this time we're using ext3, a file system I have always found utterly reliable in the face of power failure and other adversities. Unlike it's successor. Or maybe it's just me doing the wrong thing at the wrong time to the wrong type of file system and my actions are driving it up the wall. Maybe I should have used gparted in the first place to partition the drive further and not cfdisk on a beta quality distribution release, who knows. But a bad taste remains as this is not the first time ext4 shows it's precarious nature.
Ext4 is of course the newest in the ext-family of file systems and was introduced into the Linux kernel in 2008, so it is still relatively new. Fedora adopted it early on as it is a experimental testing ground distribution by nature and is among the first if not the first to adopt new technologies, like it did with early switches to pulseaudio,grub2, systemd and virtually everything else in the linuxsphere. Sometimes I wonder if other distributions only adopt technologies because they are in Fedora already. Any quick internet search reveals a plethora of results for corruption in ext4 file systems.
Due to similar past experiences I have been using reiserfs, xfs and the older ext file systems exclusively for about six years and have never had any problems with file corruption or unreadable partition tables on these machines in this time. The reiser4 implementation is also a younger file system but seems far more robust than ext4. If you want to do yourself a favour and not run the increased risk of having to salvage your partitions, use jfs, btrfs, zfs or what ever else, but with all this choice around there really isn't any reason to use ext4 or to have it as the default file system in distribution installs.
Testdisk and SystemRecueCD are very recommended.
HowTo Repair Broken ext4 Partitions.
Slackware in the main, but also other bits and bobs on Linux, BSD, and all sorts of things of interest.
Wednesday, 16 May 2018
Subscribe to:
Post Comments (Atom)
12.04 LTS
(1)
1280x1024
(2)
14.1
(1)
absolute
(6)
accessibility
(6)
ad-blocking
(2)
administration
(2)
afterstep
(1)
android
(3)
announcements
(15)
anonymity
(5)
anonymous
(1)
anonymous browsing
(1)
anti-malware
(1)
anti-virus
(1)
antiX
(4)
applications
(1)
arch
(11)
archbang
(11)
archone
(1)
artix
(2)
authentication
(1)
backports
(1)
base
(1)
bash
(2)
bittorrent
(2)
block-this
(1)
bluestar
(1)
bodhi
(1)
books
(1)
brave
(1)
brave-browser
(1)
browsers
(8)
browsing
(1)
bsd
(4)
bug
(2)
bugs
(3)
calculate
(1)
centos
(1)
certification
(1)
chakra
(2)
changelog
(22)
chat
(1)
chatzilla
(1)
chromebook
(1)
chromium
(2)
click
(1)
commodore 64
(1)
ControlD
(1)
critique
(1)
crunchbang
(5)
crux
(1)
ctkarch
(1)
cyber war
(1)
debian
(29)
desktop
(62)
devuan
(6)
digital certificates
(1)
digital memories
(1)
distributions
(75)
DNS
(1)
documentaries
(1)
documentation
(2)
dr. web
(1)
drivers
(1)
duo
(1)
e17
(1)
email
(1)
encryption
(3)
enlightenment
(1)
events
(1)
exit nodes
(1)
ext4
(1)
fake
(1)
fallout
(1)
fallout 4
(1)
fedora
(6)
file server
(2)
file systems
(1)
firefox
(3)
flash
(1)
flush
(1)
fluxbox
(7)
fluxflux
(1)
FPS
(2)
free software
(3)
frugalware
(1)
FSF
(1)
ftp
(2)
furybsd
(1)
fusion
(1)
fvwm
(1)
fvwm-crystal
(1)
games
(11)
gaming
(10)
gentoo
(3)
gnome
(9)
gnome shell
(4)
gnu/linux
(4)
google
(2)
google-chrome
(3)
graphics
(1)
grml
(1)
gtk+
(1)
hangouts
(1)
hardcore punk
(1)
hardware
(3)
how-to
(23)
humor
(2)
i3
(1)
icewm
(6)
init
(3)
init freedom
(5)
interview
(1)
introduction
(1)
jibbed
(1)
jwm
(2)
kanotix
(4)
kde
(21)
KDE neon
(1)
kde3
(2)
kernel
(6)
knoppix
(1)
kodi
(2)
kongoni
(2)
kubuntu
(3)
LAS
(1)
libtorrent-rasterbar
(1)
linux
(20)
linux light
(16)
Linux Mint
(6)
live
(50)
live medium
(28)
live system
(13)
liveslak
(3)
LMDE 4
(3)
localisation
(1)
LTS
(1)
lxde
(12)
lxqt
(1)
mageia
(1)
mandriva
(2)
manjaro
(1)
marine life
(1)
mate
(1)
media center
(6)
mepis
(2)
mint
(5)
mobile
(2)
mobile security
(1)
movies
(6)
mozilla
(3)
music
(1)
MX Linux
(1)
netbook
(2)
netrunner
(1)
networking
(5)
news
(3)
nvidia
(1)
open source
(1)
openbox
(15)
openSUSE
(4)
opinion
(13)
other
(5)
overclockix
(1)
packages
(1)
pclinuxos
(4)
perl
(1)
plasma
(5)
poll
(2)
porteus
(3)
privacy
(5)
privoxy
(1)
programming
(1)
proxy
(2)
puppy
(3)
qbittorrent
(1)
qt
(1)
quick look
(10)
ratpoison
(1)
red hat
(7)
redcore linux
(1)
relax
(1)
release
(2)
rescue
(3)
reviews
(57)
rhythmbox
(1)
rolling
(1)
RPG
(2)
rpm
(1)
sabayon
(5)
salix
(15)
scientific
(7)
screenshots
(2)
scripts
(3)
seamonkey
(1)
security
(4)
semplice
(1)
server
(5)
shell
(1)
shooter
(4)
siduction
(1)
slackel
(1)
slackware
(68)
slackware 14.2
(2)
slackware 15.0
(8)
slackware-current
(34)
slax
(7)
slitaz
(1)
smart phones
(2)
sms
(1)
south africa
(2)
specialist
(1)
spoof
(1)
ssh
(1)
surfing
(1)
systemd
(2)
table mountain
(1)
TDE
(1)
tegra k1
(1)
The Walking Dead
(1)
themes
(1)
tinyme
(2)
tips
(1)
tor
(3)
torrenting
(1)
torrents
(1)
traffic analysis
(2)
trinity
(2)
trisquel
(1)
TV shows
(2)
TWD
(1)
ubuntu
(6)
unity
(2)
unity linux
(4)
unix
(1)
upgrade
(6)
vector
(2)
video
(4)
vinux
(2)
virtualbsd
(1)
visual impairment
(5)
voip
(1)
vpn
(5)
VSIDO
(1)
wallpapers
(3)
window maker
(4)
window managers
(1)
windscribe
(1)
wireless
(10)
xfce
(16)
youtube
(1)
zenwalk
(3)
zombies
(1)
zoo
(1)
Interesting post! This is really helpful for me. I like it! Thanks for sharing!
ReplyDelete- spotify web player