Hi, I followed these steps from this tutorial (Smartmontools): http://www.howtoforge.com/checking-hard-disk-sanity-with-smartmontools-debian-ubuntu ..as I have also followed the ISPConfig 3 on Debian Wheezy tutorial, on the 2nd page here http://www.howtoforge.com/perfect-server-debian-wheezy-apache2-bind-dovecot-ispconfig-3-p2 .. I have used what you do in the tutorial as well: 'Guided - use entire disk and set up LVM' So when I do fdisk -l I get this: Code: root@debian:~# fdisk -l Disk /dev/sda: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk identifier: 0x000852d3 Device Boot Start End Blocks Id System /dev/sda1 * 2048 499711 248832 83 Linux /dev/sda2 501758 976771071 488134657 5 Extended Partition 2 does not start on physical sector boundary. /dev/sda5 501760 976771071 488134656 8e Linux LVM Disk /dev/mapper/debian-root: 495.6 GB, 495557017600 bytes 255 heads, 63 sectors/track, 60248 cylinders, total 967884800 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk identifier: 0x00000000 Disk /dev/mapper/debian-root doesn't contain a valid partition table Disk /dev/mapper/debian-swap_1: 4290 MB, 4290772992 bytes 255 heads, 63 sectors/track, 521 cylinders, total 8380416 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk identifier: 0x00000000 Disk /dev/mapper/debian-swap_1 doesn't contain a valid partition table root@debian:~# I noticed the: Code: Disk /dev/mapper/debian-root doesn't contain a valid partition table and Code: Disk /dev/mapper/debian-swap_1 doesn't contain a valid partition table ..messages and checked on the net (as this is a 3 days old HD) and someone said that 'fdisk does not understand LVM content'. What is your advice, how should I check my hard drive in order to make sure everything is ok ? I would go in trouble installing this drive on a windows machine only to check it using some apps I got there Now the output of smartctl -a /dev/sda is this and I think is ok ? (note: this is on a Pentium 4 i386 PC so some features of the HD may be down): Code: root@debian:~# smartctl -a /dev/sda smartctl 5.41 2011-06-09 r3365 [i686-linux-3.2.0-4-686-pae] (local build) Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net === START OF INFORMATION SECTION === Device Model: WDC WD5003AZEX-00K1GA0 Serial Number: WD-WCC1S5964775 LU WWN Device Id: 5 0014ee 209138aba Firmware Version: 80.00A80 User Capacity: 500,107,862,016 bytes [500 GB] Sector Sizes: 512 bytes logical, 4096 bytes physical Device is: Not in smartctl database [for details use: -P showall] ATA Version is: 8 ATA Standard is: Exact ATA specification draft version not indicated Local Time is: Wed Nov 6 05:32:41 2013 EET SMART support is: Available - device has SMART capability. SMART support is: Enabled === START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED General SMART Values: Offline data collection status: (0x80) Offline data collection activity was never started. Auto Offline Data Collection: Enabled. Self-test execution status: ( 0) The previous self-test routine completed without error or no self-test has ever been run. Total time to complete Offline data collection: ( 6480) seconds. Offline data collection capabilities: (0x7b) SMART execute Offline immediate. Auto Offline data collection on/off support. Suspend Offline collection upon new command. Offline surface scan supported. Self-test supported. Conveyance Self-test supported. Selective Self-test supported. SMART capabilities: (0x0003) Saves SMART data before entering power-saving mode. Supports SMART auto save timer. Error logging capability: (0x01) Error logging supported. General Purpose Logging supported. Short self-test routine recommended polling time: ( 2) minutes. Extended self-test routine recommended polling time: ( 77) minutes. Conveyance self-test routine recommended polling time: ( 5) minutes. SCT capabilities: (0x30b5) SCT Status supported. SCT Feature Control supported. SCT Data Table supported. SMART Attributes Data Structure revision number: 16 Vendor Specific SMART Attributes with Thresholds: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 1 Raw_Read_Error_Rate 0x002f 200 200 051 Pre-fail Always - 0 3 Spin_Up_Time 0x0027 174 174 021 Pre-fail Always - 2283 4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 10 5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail Always - 0 7 Seek_Error_Rate 0x002e 200 200 000 Old_age Always - 0 9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 122 10 Spin_Retry_Count 0x0032 100 253 000 Old_age Always - 0 11 Calibration_Retry_Count 0x0032 100 253 000 Old_age Always - 0 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 10 192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always - 1 193 Load_Cycle_Count 0x0032 200 200 000 Old_age Always - 8 194 Temperature_Celsius 0x0022 113 102 000 Old_age Always - 30 196 Reallocated_Event_Count 0x0032 200 200 000 Old_age Always - 0 197 Current_Pending_Sector 0x0032 200 200 000 Old_age Always - 0 198 Offline_Uncorrectable 0x0030 100 253 000 Old_age Offline - 0 199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age Always - 0 200 Multi_Zone_Error_Rate 0x0008 100 253 000 Old_age Offline - 0 SMART Error Log Version: 1 No Errors Logged SMART Self-test log structure revision number 1 No self-tests have been logged. [To run self-tests, use: smartctl -t] SMART Selective self-test log data structure revision number 1 SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS 1 0 0 Not_testing 2 0 0 Not_testing 3 0 0 Not_testing 4 0 0 Not_testing 5 0 0 Not_testing Selective self-test flags (0x0): After scanning selected spans, do NOT read-scan remainder of disk. If Selective self-test is pending on power-up, resume after 0 minute delay. root@debian:~# By the way, on a production server setup would you recommend 'Guided - use entire disk and set up LVM' or to use a secondary drive or partition for the websites ? What are the pros and cons ? I always preferred the pure data on a separate drive but I never tried this with ISPConfig, but I got all the time to test it. I just would like your recommendation. Nice tutorial on Smartmontools, somewhere near the end you give two examples. One is: Code: DEVICESCAN -m root -M exec /usr/share/smartmontools/smartd-runner and the other is: Code: /dev/hda -m [email protected] -M exec /usr/share/smartmontools/smartd-runner I guess one should not use both in the /etc/smartd.conf file right ? thanks in advance have a nice day
Nice tutorial on Smartmontools, somewhere near the end you give two examples. One is: Code: DEVICESCAN -m root -M exec /usr/share/smartmontools/smartd-runner and the other is: Code: /dev/hda -m [email protected] -M exec /usr/share/smartmontools/smartd-runner I guess one should not use both in the /etc/smartd.conf file right ? --- Correct, in case of DEVICESCAN, the specific drive lines in the config file are ignored. Cupy