DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 13th September 2019
roddierod's Avatar
roddierod roddierod is offline
Real Name: Rod Person
VPN Cryptographer
 
Join Date: Apr 2008
Location: Pittsburgh, Pa
Posts: 417
Default gpart restore

I have a 2 TB hard disk that am throwing into a home server. It was in an old machine but has been sitting on my workbench for a time. Before I formated it, I decided to run
Code:
glabel list
on it. It shows and old FreeBSD partition, but the partition is corrupt.

Anyway, I decided to try
Code:
gpart restore
on it. It been running for 20 hr or so now. How long should this take to do something or fail?
__________________
"The basic tool for the manipulation of reality is the manipulation of words. If you can control the meaning of words, you can control the people who must use the words." -Philip K. Dick
Reply With Quote
  #2   (View Single Post)  
Old 14th September 2019
Beastie Beastie is offline
Daemonology student
 
Join Date: Jan 2009
Location: /dev/earth0
Posts: 324
Default

This may be the first signs of mechanical failure. Sometimes you can notice a tremendous performance drop when the mechanism starts wearing out: the disk slows down then stops working completely, especially when being subjected to long and intensive processes such as dump/restore, dd, etc.
While it may not give you a definite answer, you probably should run sysutils/smartmontools.

Also try changing cables. You can't imagine how much trouble a bad cable can cause you!
__________________
May the source be with you!
Reply With Quote
  #3   (View Single Post)  
Old 14th September 2019
roddierod's Avatar
roddierod roddierod is offline
Real Name: Rod Person
VPN Cryptographer
 
Join Date: Apr 2008
Location: Pittsburgh, Pa
Posts: 417
Default

Thanks for the reply.

You might be on to something about mechanical failure, the drive is older and I hadn't thought of that because of how it got corrupt - power failure. Gonna try smartmontools
__________________
"The basic tool for the manipulation of reality is the manipulation of words. If you can control the meaning of words, you can control the people who must use the words." -Philip K. Dick
Reply With Quote
  #4   (View Single Post)  
Old 16th September 2019
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 6,745
Default

If read performance degraded due to retries, the drive electronics should record it S.M.A.R.T. logs. Retries are usually noticeable due to the elapsed time for rotation delay with each attempt.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to use gpart commit on ARM V7 philo_neo71 FreeBSD Installation and Upgrading 1 4th December 2015 06:08 PM
Manual install of FreeBSD 8.0 RELEASE after gpart embeddedbob FreeBSD Installation and Upgrading 1 27th March 2010 04:56 PM
File Restore plexter OpenBSD General 4 24th November 2009 08:06 PM
Restore OBSD Over SSH revzalot OpenBSD Installation and Upgrading 16 2nd September 2009 06:45 PM
dat 72 one touch restore firstkmh FreeBSD General 0 29th August 2008 03:46 PM


All times are GMT. The time now is 04:10 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick