Тёмный

How to Fix XFS File System Corruption on an Unraid Server 

Spaceinvader One
Подписаться 74 тыс.
Просмотров 27 тыс.
50% 1

This video shows how to repair XFS filesystem corruption on an Unraid server. You will see how to use xfs_repair tools in both the WebUI and command line. See how to repair the corruption and keep parity and even how to repair XFS corruption on an emulated disk so as not to risk mission-critical data.
Please, if you can and want to support the channel and donate goo.gl/dw6MLW or check my patreon page / spaceinvaderone
If you need a good VPN? PIA is one of the best - they keep no logs and support port forwarding!
www.privateint...
Need a cheap windows 10 licence for under $15
consogame.com/...
Thanks to
The Limetech team for bringing us unRAID
"Epic" composed and performed by Bensound from www.bensound.c....
video music Boxcat Games - Mt Fox Shop boxcat.bandcam...

Опубликовано:

 

14 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 65   
@chaosblade234
@chaosblade234 4 года назад
It was chilling how you seem to know every single one of the errors i was running into. Thank you so much for this video.
@ralleigh7869
@ralleigh7869 4 месяца назад
Just came here to say this video saved me. Had 2 drives randomly show up as XFS Unmountable right after I had to replace my parity drive so I was unable to rebuild either drive. After following your video I was able to repair the file system and both drives mounted with all my data intact. Thank you so much!
@HikerHansen
@HikerHansen 26 дней назад
Whew! I was foolishly trying to find which drive had failed by yanking SATA cables to seeing which drives would go offline. They never did until I restarted the array. Now I had to rebuild 2 drives now, (thank goodness I had 2 parity drives!) and use this video. But that -L command worked like a charm. All my files are back and didn't even have to touch my backup.
@vikasbidhuri1288
@vikasbidhuri1288 2 месяца назад
OMG. Thank you soo much. You're a life saver. I'd accepted the loss of my data and was trying anything that might work and this did it! You rock!
@Vampire296099
@Vampire296099 Год назад
More or less, due to your channel i tried Unraid, and i've used it for over 6 months now. But his particular video saved 6tb of data for me. Thank you
@abn0rm1
@abn0rm1 5 лет назад
Great video. Just what I needed as i actually had corruption present. Been bugging me for a while, I thought it would take ages to repair. Fixed now, thanks spaceinvader!
@TomWhi
@TomWhi 4 месяца назад
Thanks SIO, you gave me the courage to do a "-L" when forums and documentation didn't make it clear what I was about to lose.
@NoName-lq6vw
@NoName-lq6vw 9 часов назад
This is real. That warning should be replaced with something more like "You HAVE to click this- but just be aware some data may be lost forever" they make it seem optional... yeah, if you never intend to do a corruption fix.
@vaughanmerz7763
@vaughanmerz7763 2 года назад
your my hero, have a limited understanding of unraid and have spent the last 2 years watching your videos but today you saved me
@Globalinvader2315
@Globalinvader2315 Год назад
You saved my bacon!!!! array is back up again. I have massive appreciation for you for making these video's! Thank you so much and keep making these awesome video's
@darkstone21
@darkstone21 10 месяцев назад
still works today and saved my butt. Server was locked up every other day and this solved the issue!
@chadblows
@chadblows 5 лет назад
Hey Spaceinvader! You have made my unRAID experience absolutely amazing. Have you ever or would you ever do a guide on setting up a PXE server for network booting?
@SpaceinvaderOne
@SpaceinvaderOne 5 лет назад
Hi Chad. Yeah that could be a fun video to make. I will add that to my list. Not sure when I will get to it but definitely a good idea that i would like to cover. Thank you :)
@will1565
@will1565 4 года назад
Spaceinvader, you're a legend this helped me get my NAS back up and running again. Excellent video :)
@TheZoeyband
@TheZoeyband Год назад
Again you saved my "life" / "data". Thank you very much for your dedication.
@robertg7974
@robertg7974 5 лет назад
*WHEW* Keep 'em coming SpaceInvader One!
@rallygallery
@rallygallery 5 лет назад
I say this every video, Supeb! Great work Ed!
@TheSaltyStew
@TheSaltyStew 5 лет назад
If we don't have a monitor hooked to unraid on boot is there another location where we can see this a warning showing xfs corruption or will unRAID notify us?
@AidenPryde3025
@AidenPryde3025 5 лет назад
I would like to know this as well.
@fedorharitonov1684
@fedorharitonov1684 4 года назад
I also wonder if it is possible to find out xfs corruption without a connected monitor.
@BringingTelos
@BringingTelos 4 года назад
For me the xfs corruption error showed up in my syslog, which is available from the webGUI. I did not receive a warning however, only found out when my docker image stopped working and I started tshooting.
@wiggleforlife
@wiggleforlife 4 года назад
I couldn't access my array, so I checked the webGUI and there was a popup saying I had errors and Unmountable: No file system on the disk, if this helps
@bluedevil678
@bluedevil678 11 месяцев назад
Today, you saved my bacon! Thank you for this video!!!!
@kenhargrave3932
@kenhargrave3932 4 года назад
Lifesaver....just the info I needed. Keep up the great videos
@brendan_connell
@brendan_connell 5 лет назад
Thanks for another awesome video. I’m looking to start my server over and wanted to know if you had any experience with BTRFS for your array. I’m curious how it works in the UnRAID format so being individual disks rather than a RAID array. I’m interested in the extra protection against errors and corruption but not sure if there are real drawbacks or extra maintenance needed. Also I remember in your PFSense video you mentioned a script to wake the physical box if your server shut down and was wondering if the reverse is possible. I plan on running a PFSense box with an old Dell Optiplex machine and wanted a backup VM that would act as a failover.
@IEnjoyCreatingVideos
@IEnjoyCreatingVideos 5 лет назад
Another great video Ed! Thanks for always sharing them with us.👌😎JP
10 месяцев назад
Thanks, helped me out with my cache drive!
@Xac501
@Xac501 Год назад
THANK YOU! For some weird reason I could not access my unraid server I force closed and the drive with most important data was unmountable. This saved me! Also, I have a question. I have setup share in a way that all of its data is saved in Disk 3. My question is if Disk 3 fails do I lose all of my data?
@PeteDiful
@PeteDiful 5 лет назад
Another Excellent, detailed, technical guide! Good to know general diagnostic procedures. I'm using btrfs format for cache. I'm wondering how much difference there are between XFS & BTRFS repair?
@buffaloxp
@buffaloxp 5 лет назад
Of course I would find this video three weeks after my own XFS repair.
@adamedghill
@adamedghill Год назад
Thank you, saved me a massive headache. 😊
@survivingnetworkingandit2084
Thank you kind sir. This saved me today.
@Beachfitrob
@Beachfitrob 4 года назад
Overkill to ask/post this and I think I look good as running with -v generated no lost+found dir. But just for the sake of discussion and my curiosity: Couple of different lines in mine on Unraid 6.8.3 on Drive 1, a 2TB drive: - rebuild AG headers and trees - 32 of 32 allocation groups done - check for inodes claiming duplicate blocks - 1316416 of 1314720 inodes done (This is the only strange line...why not 1314720 of 1314720?) - verify and correct link counts - 32 of 32 allocation groups done ---The lines above are only on my 2TB data drive as the next 3 drives are smaller. Is this because of the size of the drive I presume?--- Here's the EDITED entire output with only the -v set in the webgui. I don't see any issues, but not my forte. Phase 1 - find and verify superblock... - reporting progress in intervals of 15 minutes - block cache size set to 367160 entries Phase 2 - using internal log - zero log... zero_log: head block 75338 tail block 75338 - scan filesystem freespace and inode maps... - 15:11:10: scanning filesystem freespace - 32 of 32 allocation groups done - found root inode chunk Phase 3 - for each AG... - scan and clear agi unlinked lists... - 15:11:10: scanning agi unlinked lists - 32 of 32 allocation groups done - process known inodes and perform inode discovery... - agno = 0 ( my comment : 32 of these in a different order, but there are 32, 0-31) - 15:14:38: process known inodes and inode discovery - 1316416 of 1314720 inodes done - process newly discovered inodes... - 15:14:38: process newly discovered inodes - 32 of 32 allocation groups done Phase 4 - check for duplicate blocks... - setting up duplicate extent list... - 15:14:38: setting up duplicate extent list - 32 of 32 allocation groups done - check for inodes claiming duplicate blocks... - agno = 0 # (my comment) -(goes to 31, so 0-31=32 allocation groups I guess) - 15:14:39: check for inodes claiming duplicate blocks - 1316416 of 1314720 inodes done Phase 5 - rebuild AG headers and trees... - agno = 0 ... (my edit) - agno = 31 - 15:14:40: rebuild AG headers and trees - 32 of 32 allocation groups done - reset superblock... Phase 6 - check inode connectivity... - resetting contents of realtime bitmap and summary inodes - traversing filesystem ... - agno = 0 ...... - agno = 31 - traversal finished ... - moving disconnected inodes to lost+found ... Phase 7 - verify and correct link counts... - 15:16:22: verify and correct link counts - 32 of 32 allocation groups done XFS_REPAIR Summary Fri Oct 23 15:16:28 2020 Phase Start End Duration Phase 1: 10/23 15:11:04 10/23 15:11:04 Phase 2: 10/23 15:11:04 10/23 15:11:10 6 seconds Phase 3: 10/23 15:11:10 10/23 15:14:38 3 minutes, 28 seconds Phase 4: 10/23 15:14:38 10/23 15:14:39 1 second Phase 5: 10/23 15:14:39 10/23 15:14:40 1 second Phase 6: 10/23 15:14:40 10/23 15:16:22 1 minute, 42 seconds Phase 7: 10/23 15:16:22 10/23 15:16:22 Total run time: 5 minutes, 18 seconds done --end-- Had a power blink and as I decommissioned my old server, it wasn't plugged in to the battery side of the UPS, just the surge side. Doh. So I checked the filesystem.
@blackpietto
@blackpietto 5 лет назад
Great video for me a a Linux noob 😁. Saved for future disk problems! 👊
@AnthonyNelsonYYZ
@AnthonyNelsonYYZ 4 года назад
Thank you. Another helpful video.
@jayp936
@jayp936 3 года назад
Hi Spaceinvader One You are amazing Thank You for all of the video helping me to learn Unraid. As a video suggestion could you please consider making a video on how to undelete files on Unraid xfs filesystem? I recently deleted some of my important files on my NAS arrary, I have been trying to see if there is a way to undelete the files, however, I haven't been able to be successful, I tried to use testdisk and photorec but have been unsuccessful so far. You may have communication with Unraid developers, if yes, could you please recommend adding a built in tool to assist with these type of issues?
@spontan_tv
@spontan_tv 2 года назад
Thank you man you saved me 🙏
@reapzzdesigns5095
@reapzzdesigns5095 Год назад
It worked!!!!! Thank you!
@krys2o
@krys2o 8 месяцев назад
I love you!?! You saved my day!!!!!!!!!
@contidozack
@contidozack 3 года назад
I've been your long time subscriber. Lately my Unraid is giving me parity sync error (not sure why or is it unclean shutdown). I've been running memtest and SMART on the disks right now. I've got this plugin called Dynamic File Integrity for a while but it's kinda confusing to use. It would be nice if you can teach us how to use it! Thank Spaceinvader!
@Mgamer20o0
@Mgamer20o0 11 месяцев назад
life saver. still works in 6.11.3
@isabelbrichete
@isabelbrichete Месяц назад
In Unraid 7 beta there doesn't seem to be a text field after the check button to change/enter arguments.
@Jim1Dean
@Jim1Dean 4 года назад
very usefull as all of your vids. THX ;)
@Ath3na32
@Ath3na32 2 года назад
Thank you very much
@MaZeeT
@MaZeeT 5 лет назад
Hello Spaceinvader.. I would like to request an update on reverse proxy but with the use of the docker-container "NginxProxyManager".. Have to say you make some fantastic videos on different aspects of unRaid, much love from this newbie.
@TheRangeControl
@TheRangeControl 5 лет назад
@1:54 you say that we can see that SDH1 refers to the cache drive, but you didn't show us where the "SDH1" was, or the "SDX1" or anything, soooo... I'm quite a bit lost on how to find it.
@תתתתתתתתתתתתתתתתתתתתתתתתתת-ט3ד
TheRangeControl the 1 means the partition number, the sdh is from the bracket after the device name
@vinid223
@vinid223 5 лет назад
Is there a way to see the logs of the screen in any log files? It can be difficult to find the issue when the startup is really fast
@thenanook
@thenanook Год назад
Brother, i almost faint, i try to play around with proxmox and then bring the unraid boot usb thru a vm passthru, and no idea how my usb got corrupted, i had a backup, so i create teh usb again and transfer the config folder, and 1/2 of my disk could not be mounted, i tried everuthing, and before decide to let go all family pics and delete the drives i try the -L comand and boom, it wors for me , thank you!!!
@koolkiwikat
@koolkiwikat 5 лет назад
Hi, I accendently ran 'clear' for a few seconds on a drive with data....is there a chance to recover?
@hipsterhass2391
@hipsterhass2391 6 месяцев назад
Thanks you saved my ass :) 😀
@amateurwizard
@amateurwizard 3 года назад
Does this apply for BTRFS?
@PrimalNaCl
@PrimalNaCl 5 лет назад
A better option would be to use a better NAS implementation. If data integrity is important anyway. Given the # of complaints of this issue, the fact that the responses aren't something like, "This thing is crap, let's use a proper/real solution.", maybe data integrity isn't important. We used to have phones that _might_ have had PDA, PDA-like, app(s) on them. But no matter how awesome the PDA app(s) was/were, if the thing fell over w/being a phone (making/receiving calls), it was properly shit-canned. Shortly after the iPhone debuted, and _really_ after Apple opened it to apps and the app store, we've been walking around w/PDAs w/a phone app on them, but we still call them phones. Ostensibly their primary duty. Yet, now, the tolerance to the phone experience being absolutely crap/unworkable is bend-over-backwards-far-enough-to-break-your-back high. This is unraid wrt NAS platforms. It's primary job should be data integrity. Which, even w/out the data points here wrt instances of corruption, unraid fails hard. Laughably, or "cryably" depending. I don't get why people continue to not only use, but _pay_ to use, this thing in light of this round-0 failing.
@johnm2012
@johnm2012 4 года назад
Well, nobody's actually forcing you to use either an iPhone or Unraid. There are plenty of alternatives to both available, depending on your requirements and your budget. On the other hand, there are satisfied users of both products. What is your point, exactly?
@PrimalNaCl
@PrimalNaCl 4 года назад
@@johnm2012 Reading comprehension is a wonderful thing. All was revealed in the last 3 sentences of my comment.
@robertt9342
@robertt9342 3 года назад
@Gary Wolfe . It's probably more of a writing issue in the OP than a reading one, unless it's a reading comprehension issue on the reply. Related to the OP, maybe the answer to your last statement is that you assertion is incorrect, and that data integrity is not a main motivating factor for most users and to relate to your analogy, that the PDA functionality is the purchasing decision and its nice to have the phone capability if needed.
@robertt9342
@robertt9342 3 года назад
@Gary Wolfe . I do have a Question to ask, and I am being serious here. Can you recommend to me, a server solution that takes into the following criteria: - User friendly, meaning that it doesn't require a ton of tweaking and rolling of services into it or constantly monitoring to see if the various services break down as they interact. - Has the level of data integrity capability you suggest. - Has the ability to combine hard drives of different sizes with parity capabilities. - If the array fails, the data on the drives that weren't damaged is easily recoverable and only the data on the damaged drives is lost. - Can run on hardware with a limit of 16gb ram.
@davidg4512
@davidg4512 5 лет назад
Zfs ftw
@geoffreystraw5268
@geoffreystraw5268 4 года назад
I would rather have parity and using unraid with zfs looks hard to setup and its unsupported.
@johnm2012
@johnm2012 4 года назад
Expanding an existing ZFS volume is not at all straightforward. It's very easy to add a new disk to an Unraid array, or to replace an existing array disk with a bigger one.
@davidg4512
@davidg4512 4 года назад
@@johnm2012 false, I did it and it's easy. In fact, you don't have to take the array offline and can do it live.
@johnm2012
@johnm2012 4 года назад
@@davidg4512 In that case you're using a trivial configuration with no protection. Try adding a disk to a RAIDZ2 volume. Even if you're just using mirrors you have to add a pair of disks.
@davidg4512
@davidg4512 4 года назад
@@johnm2012 yeah, you can't add a disk to a vdev. Zfs has different applications and use cases.
@ervinusxxx
@ervinusxxx 8 месяцев назад
Thank you so much for making this video!
Далее
How to Downgrade an AMD Bios & Agesa
13:06
Просмотров 57 тыс.
다리찢기 고인물⁉️😱 Leg Splits Challenge
00:37
Which Linux filesystem is best in 2022?
19:32
Просмотров 77 тыс.
Unraid & Moving Data (Part 1) File System
13:26
Просмотров 80 тыс.
Harder Drive: Hard drives we didn't want or need
36:47
How to Safely Shrink an Unraid Array
24:52
Просмотров 58 тыс.
The Tragedy of systemd
47:18
Просмотров 1,1 млн
Save Terabytes of Disk Space Using H265 & Tdarr
35:39
Просмотров 182 тыс.