![]() ![]() We’ll learn more about these types of commands in our next Linux post. (0/0/0 errors)Ĭongratulations! Now, you know “How to find out bad Sectors ie. In my case, it has given the following result − Checking blocks 0 to 3595263Ĭhecking for bad blocks (read-only test): done If the above result gives a failure information, then use the following command to scan the bad blocks. SMART overall-health self-assessment test result: PASSED ![]() The sample output should be like this − smartctl 6.5 r4214 (local build)Ĭopyright (C) 2002-16, Bruce Allen, Christian Franke, = START OF READ SMART DATA SECTION = To verify the hard disk health, use the following command – $ sudo smartctl -H /dev/sda No check if: never, sleep, standby, idle (see man page) Set action on bad checksum to one of: warn, exit, ignore Tolerance: normal, conservative, permissive, verypermissive Specify device type to one of: ata, scsi, sat, usbcypress, usbjmicron, usbsunplus, marvell, areca,N/E, 3ware,N, hpt,L/M/N, megaraid,N, aacraid,H,L,ID, cciss,N, auto, test Set smartctl quiet mode to one of: errorsonly, silent, noserial Scan for devices and try to open each device Get device setting: all, aam, apm, lookahead, security, wcache, rcache, wcreorder Show words and bits from IDENTIFY DEVICE data (ATA) Print license, copyright, and version information and exit The sample output should be like this – smartctl 6.5 r4214 (local build)Ĭopyright (C) 2002-16, Bruce Allen, Christian Franke, Usage: smartctl device To get the more information about smartctl, use the following command – $ smartctl -h 174772 files and directories currently installed.) Selecting previously unselected package s-nail. Get:2 xenial/main amd64 smartmontools amd64 6.4+svn4214-1 Get:1 xenial/universe amd64 s-nail amd64 14.8.6-1 The following NEW packages will be installed:Ġ upgraded, 2 newly installed, 0 to remove and 284 not upgraded.Īfter this operation, 2,398 kB of additional disk space will be used. The following additional packages will be installed:Įxim4 | mail-transport-agent gsmartcontrol smart-notifier Before I didnt have setup root mail correctly. I only noticed the issue after apache failed to start and I repaired the filesystem with fsck.ext4 -f. The sample output should be like this − Reading package lists. I tried to check the health of the devices with these commands, but they dont give me stats like 'ReallocatedSectorCt' or 'ReportedUncorrect'. To get the information about bad blocks status, install the following package on Ubuntu as shown below – $ sudo apt-get install smartmontools ![]() There are so many sophisticated methods which are available to find bad blocks. To get the information about Block Devices on your machine, use the following command – $ lsblk Checking Bad Sectors This article explains about – how to find out bad Sectors ie. It creates a list of those sectors which can be used with other applications like mkfs, so that they aren’t used at some point and for that reason does not corrupt the data. Badblocks is a Linux utility to assess unhealthy sectors on a disk power. ![]()
0 Comments
Leave a Reply. |