User Tools

Site Tools


faq:0001

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
faq:0001 [2012/08/26 02:45]
127.0.0.1 external edit
faq:0001 [2018/08/10 21:56] (current)
zoon01
Line 1: Line 1:
-**Q: After a crash, NAS4Free stops booting and I see "Run FSCK Manually" on the screen, what do I do?\\ +**Q: After a crash, XigmaNAS stops booting and I see "Run FSCK Manually" on the screen, what do I do?\\ 
 Q: How can I fix file system damage that prevents me from mounting my UFS formatted drive?\\ Q: How can I fix file system damage that prevents me from mounting my UFS formatted drive?\\
 Q: How do I fix the "WARNING: /mnt/MyStuff was not properly dismounted" errors that appear in the logs or at boot time?\\ Q: How do I fix the "WARNING: /mnt/MyStuff was not properly dismounted" errors that appear in the logs or at boot time?\\
Line 7: Line 7:
  
   - Backup your configuration file.   - Backup your configuration file.
-  - Run fsck from WebGUI Tab> **Disks|Mount Point|Fsck**. //Make sure you select// "**Unmount disk/partition**", //read and understand all notes and warnings on this Tab//.+  - Run fsck from WebGUI Tab> **Disks Mount Point Fsck**. //Make sure you select// "**Unmount disk/partition**", //read and understand all notes and warnings on this Tab//.
   - Note or copy / paste any output for future reference.   - Note or copy / paste any output for future reference.
   - If you see " **FILE SYSTEM CLEAN** " then you are done, file system corruption should now be fixed, try to mount and use your file system again.   - If you see " **FILE SYSTEM CLEAN** " then you are done, file system corruption should now be fixed, try to mount and use your file system again.
Line 14: Line 14:
 **Procedure #2 -** Is more difficult than the first but is still relatively easy and safe, it is done from the server console and then uses the WebGUI. **Procedure #2 -** Is more difficult than the first but is still relatively easy and safe, it is done from the server console and then uses the WebGUI.
  
-  - Make sure you know and understand your NAS4Free configuration.+  - Make sure you know and understand your XigmaNAS configuration.
   - Backup your configuration file, then shut down your server.   - Backup your configuration file, then shut down your server.
   - Remove floppy or USB stick If you are using one to store your configuration file.   - Remove floppy or USB stick If you are using one to store your configuration file.
Line 20: Line 20:
   - Add your disks carefully, make sure you specify how they are already formatted. __Under no circumstances should you reformat your disks__.   - Add your disks carefully, make sure you specify how they are already formatted. __Under no circumstances should you reformat your disks__.
   - __Do not__ mount any file systems.   - __Do not__ mount any file systems.
-  - If you //do not// have a RAID array, then from WebGUI Tab> **Advanced|Command** run:<code bash>fsck_ufs -p /dev/YourDrivep1 &</code>+  - If you //do not// have a RAID array, then from WebGUI Tab> **Tools > Execute Command** run:<code bash>fsck_ufs -p /dev/YourDrivep1 &</code>
   - Do this until you see "FILE SYSTEM CLEAN; SKIPPING CHECKS".   - Do this until you see "FILE SYSTEM CLEAN; SKIPPING CHECKS".
-  * **If you have a RAID5 array**, recreate your array, giving it the original name and the original disks, in the original order, __do not__ check the "Create & initialize" box, then from WebGUI Tab> **Advanced|Command** run:<code bash> fsck_ufs -p /dev/raid5/YourRAIDNamep1 &</code>+  * **If you have a RAID5 array**, recreate your array, giving it the original name and the original disks, in the original order, __do not__ check the "Create & initialize" box, then from WebGUI Tab> **Tools > Execute Command** run:<code bash> fsck_ufs -p /dev/raid5/YourRAIDNamep1 &</code>
   * Do this until you see "FILE SYSTEM CLEAN; SKIPPING CHECKS".   * Do this until you see "FILE SYSTEM CLEAN; SKIPPING CHECKS".
-  * **If you have a RAID1 array**, recreate your array, giving it the original name and the original disks, in the original order, __do not__ check the "Create & initialize" box, then from WebGUI Tab> **Advanced|Command** run:<code bash> fsck_ufs -p /dev/gmirror/YourRAIDNamep1 &</code>+  * **If you have a RAID1 array**, recreate your array, giving it the original name and the original disks, in the original order, __do not__ check the "Create & initialize" box, then from WebGUI Tab> **Tools > Execute Command** run:<code bash> fsck_ufs -p /dev/gmirror/YourRAIDNamep1 &</code>
   * Do this until you see "FILE SYSTEM CLEAN; SKIPPING CHECKS".   * Do this until you see "FILE SYSTEM CLEAN; SKIPPING CHECKS".
  
 With luck, if everything is done right, any damage will be fixed. You should then be able to remove the CD, reboot, mount your drive / array and see your data again, if nothing else is causing the server to crash. If Procedures #1 and #2 do not fix your problem and you still cannot get to your data, it may be necessary to take extra steps or run other utilities only available in the console or CLI. Even experienced users may not have seen all the different circumstances and errors, so we **strongly recommend that everyone learn more about fsck before trying to fix file system errors** by reading the following: With luck, if everything is done right, any damage will be fixed. You should then be able to remove the CD, reboot, mount your drive / array and see your data again, if nothing else is causing the server to crash. If Procedures #1 and #2 do not fix your problem and you still cannot get to your data, it may be necessary to take extra steps or run other utilities only available in the console or CLI. Even experienced users may not have seen all the different circumstances and errors, so we **strongly recommend that everyone learn more about fsck before trying to fix file system errors** by reading the following:
  
-  [[https://sourceforge.net/apps/phpbb/freenas/viewtopic.php?f=81&t=703&start=0|FYI - fsck info]] +Helpful, archived topics from old forum: 
-  * [[https://sourceforge.net/apps/phpbb/freenas/viewtopic.php?f=79&t=1073&start=0|FSCK makes me nervous]] +  {{:faq:fyi_-_fsck_info.pdf|FYI - fsck info}} 
-  * [[https://sourceforge.net/apps/phpbb/freenas/viewtopic.php?f=5&t=2333&start=0|Why / when / how I should fsck my filesystem's]] +  * {{:faq:why_when_how_i_should_fsck_my_filesystems.pdf|Why / when / how I should fsck my filesystems}} 
-  * [[https://sourceforge.net/apps/phpbb/freenas/viewtopic.php?f=78&t=6428&start=0|[SOLVED] Rebooting on file copy due to file system damage.]] +  * {{:faq:solved_rebooting_on_file_copy_due_to_file_system_damage.pdf|[SOLVED] Rebooting on file copy due to file system damage.}} 
-  * [[https://sourceforge.net/apps/phpbb/freenas/viewtopic.php?f=78&t=596&start=0|[SOLVED] Power Loss - Freeze Crash & File System Corruption.]] +  * {{:faq:solved_freenas_won_t_shutdown_-_file_system_corruption.pdf|[SOLVED] FreeNAS won't shutdown & File System Corruption.}} 
-  * [[https://sourceforge.net/apps/phpbb/freenas/viewtopic.php?f=78&t=592&start=0|Drives not properly dismounted]].+  * {{:faq:drives_not_properly_dismounted.pdf|Drives not properly dismounted.}}
  
-| Advanced | Basic storage concept | <=9.0.0.1 |+| Advanced | Basic storage concept | =>9.0.0.1 |
faq/0001.1345941943.txt.gz · Last modified: 2018/07/08 14:47 (external edit)