Hello, Running FreeBSD 8.0.
I cloned using 'dump' a very old and failing Fujitsu drive that was mounted as /dev/ad0 to a Quantum drive that was mounted at the time of dumping as /dev/ad3. I used the method of cloning described in http://forums.freebsd.org/showthread.php?t=11680. There is a second drive that was mounted as /dev/ad2. After the clone was completed and the system was reconfigured taking out the failing drive and inserting the replacement drive as a master drive. Upon booting in the new drive configuration, I received the following message that it couldn't boot from /dev/ad0s1a: ,---- | Timecounter "TSC" frequency 1294237239 Hz quality 80 | Timecounters tick every 1.000 msec | Trying to mount root from ufs:/dev/ad0s1a | ROOT MOUNT ERROR | If you have invalid mount options, reboot, and first try the following | from the loader prompt: | | set vfs.root.mountfrom.options=rw | | and then remove invalid entries from /etc/fstab | | Loader variables: | vfs.root.mountfrom=ufs:/dev/ad0s1a | vfs.root.mountfrom.options=rw `---- I found from dmesg that I had the following mounted disks: ad2: 26147MB <QUANTUM FIREBALLP KX27.3 A1S.3700> at ata1-master UDMA66 ad3: 76293MB <Seagate ST380011A 8.16> at ata1-slave UDMA100 I ended up with a mountroot command prompt. After fiddling around, I finally was able to change the boot order so that it boots from /dev/ad2s1. I also had to edit the /etc/fstab. After rebooting, I was able to boot up the system successfully except that I now received an error message that smartd couldn't start monitoring /dev/ad2 as follows: ad2: FAILURE - SMART status=51<READY,DSC,ERROR> error=4<ABORTED> Ok, check log: r...@ftp:/root# tail /var/log/messages <..snip..> Jun 24 10:26:48 ftp kernel: Trying to mount root from ufs:/dev/ad2s1a Jun 24 10:26:48 ftp kernel: GEOM: ufsid/47336891c9952d8a: geometry does not match label (255h,63s != 16h,63s). Jun 24 10:26:52 ftp kernel: ad2: FAILURE - SMART status=51<READY,DSC,ERROR> error=4<ABORTED> Jun 24 10:26:52 ftp smartd[786]: Unable to register ATA device /dev/ad2 at line 41 of file /usr/local/etc/smartd.conf Jun 24 10:26:52 ftp smartd[786]: Unable to register device /dev/ad2 (no Directive -d removable). Exiting. Jun 24 10:26:52 ftp root: /etc/rc: WARNING: failed to start smartd <..snip..> r...@ftp:/root# Listing relevant info in smartd.conf: # First (primary) ATA/IDE hard disk. Monitor all attributes, enable # automatic online data collection, automatic Attribute autosave, and # start a short self-test every day between 2-3am, and a long self test # Saturdays between 3-4am. #/dev/hda -a -o on -S on -s (S/../.././02|L/../../6/03) /dev/ad2 -a -o on -S on -s (S/../.././02|L/../../6/03) /dev/ad3 -a -o on -S on -s (S/../.././02|L/../../6/03) fsck'ing all volumes on /dev/ad2 comes up clean. Trying to start smartd from command prompt: r...@ftp:/root# smartctl -s on /dev/ad2 smartctl 5.39.1 2010-01-28 r3054 [FreeBSD 8.0-STABLE i386] (local build) Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net === START OF ENABLE/DISABLE COMMANDS SECTION === Error SMART Enable failed Smartctl: SMART Enable Failed. A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options. r...@ftp:/root# smartctl -s on -T verypermissive /dev/ad2 smartctl 5.39.1 2010-01-28 r3054 [FreeBSD 8.0-STABLE i386] (local build) Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net === START OF ENABLE/DISABLE COMMANDS SECTION === Error SMART Enable failed Smartctl: SMART Enable Failed. r...@ftp:/root# smartctl -i /dev/ad2 smartctl 5.39.1 2010-01-28 r3054 [FreeBSD 8.0-STABLE i386] (local build) Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net === START OF INFORMATION SECTION === Model Family: Quantum Fireball Plus KX series Device Model: QUANTUM FIREBALLP KX27.3 Serial Number: 158002833918 Firmware Version: A1S.3700 User Capacity: 27,417,755,648 bytes Device is: In smartctl database [for details use: -P show] ATA Version is: 4 ATA Standard is: ATA/ATAPI-4 T13 1153D revision 15 Local Time is: Thu Jun 24 11:12:35 2010 PDT SMART support is: Available - device has SMART capability. SMART support is: Enabled SMART Disabled. Use option -s with argument 'on' to enable it. r...@ftp:/root# smartctl -t short /dev/ad2 smartctl 5.39.1 2010-01-28 r3054 [FreeBSD 8.0-STABLE i386] (local build) Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net SMART Disabled. Use option -s with argument 'on' to enable it. r...@ftp:/root# smartctl -a /dev/ad2 smartctl 5.39.1 2010-01-28 r3054 [FreeBSD 8.0-STABLE i386] (local build) Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net === START OF INFORMATION SECTION === Model Family: Quantum Fireball Plus KX series Device Model: QUANTUM FIREBALLP KX27.3 Serial Number: 158002833918 Firmware Version: A1S.3700 User Capacity: 27,417,755,648 bytes Device is: In smartctl database [for details use: -P show] ATA Version is: 4 ATA Standard is: ATA/ATAPI-4 T13 1153D revision 15 Local Time is: Thu Jun 24 11:16:54 2010 PDT SMART support is: Available - device has SMART capability. SMART support is: Enabled SMART Disabled. Use option -s with argument 'on' to enable it. r...@ftp:/root# smartctl -s on /dev/ad2 smartctl 5.39.1 2010-01-28 r3054 [FreeBSD 8.0-STABLE i386] (local build) Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net === START OF ENABLE/DISABLE COMMANDS SECTION === Error SMART Enable failed Smartctl: SMART Enable Failed. A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options. What do I need to do in order to enable smartd support? ~Doug _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"