Unable to mount HDD - Newbie question

2007-05-14 Thread Oscar Chavarria

I lost environmental power temporarily a few days ago, and when it was back
(almost immediately), the machine restarted without any input from me.

I had mounted to /home a 30 GB usb 2.0 hdd.

I tried mounting again since I did not find it in df.

The prompt is always WARNING: /home was not properly dismounted.

The output from dmesg is:
da0 at umass-sim0 bus 0 target 0 lun 0
da0: HITACHI- DK23 etc
WARNING: /home was not properly dismounted.


Thanks in advance for any help to mount the disk again.


--
Regards

Oscar Chavarria
Mobile:  +506 814-0247

*** The more I know people the more I love my FreeBSD ***

--- In a world without boundaries, we don't need Windows or Gates ---
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unable to mount HDD - Newbie question

2007-05-14 Thread Jerry McAllister
On Mon, May 14, 2007 at 09:12:00AM -0600, Oscar Chavarria wrote:

 I lost environmental power temporarily a few days ago, and when it was back
 (almost immediately), the machine restarted without any input from me.
 
 I had mounted to /home a 30 GB usb 2.0 hdd.
 
 I tried mounting again since I did not find it in df.
 
 The prompt is always WARNING: /home was not properly dismounted.
 
 The output from dmesg is:
 da0 at umass-sim0 bus 0 target 0 lun 0
 da0: HITACHI- DK23 etc
 WARNING: /home was not properly dismounted.
 
 Thanks in advance for any help to mount the disk again.

Try running fsck on it.
  fsck  /dev/device_name
The device name would be whatever the partition name should be.

That should either fix it or give you some ideas of where
to go next.

jerry

 
 -- 
 Regards
 
 Oscar Chavarria
 Mobile:  +506 814-0247
 
 *** The more I know people the more I love my FreeBSD ***
 
 --- In a world without boundaries, we don't need Windows or Gates ---
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unable to mount HDD - Newbie question

2007-05-14 Thread Mikhail Goriachev
Oscar Chavarria wrote:
 I lost environmental power temporarily a few days ago, and when it was back
 (almost immediately), the machine restarted without any input from me.
 
 I had mounted to /home a 30 GB usb 2.0 hdd.
 
 I tried mounting again since I did not find it in df.
 
 The prompt is always WARNING: /home was not properly dismounted.
 
 The output from dmesg is:
 da0 at umass-sim0 bus 0 target 0 lun 0
 da0: HITACHI- DK23 etc
 WARNING: /home was not properly dismounted.


You have to fsck(8) that disc. Try the following before remounting:


# fsck -f /dev/da0s1d


Replace da0s1d accordingly (if necessary).



Hopefully it helps.



Regards,
Mikhail.

-- 
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: [EMAIL PROTECTED]
Web: www.webanoide.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unable to mount HDD - Newbie question

2007-05-14 Thread Mikhail Goriachev
Oscar Chavarria wrote:
 fsck /dev/da0s1 /home
 fsck: could not determine filesystem type.
 
 Go figure. Might the hdd be damaged? I guess not since boot recognized
 it, right?


Please don't top-post and keep the conversation on the list.


It seems like you've tried to fsck only the slice (da0s1). You have to
fsck the partition itself:

# fsck /dev/da0s1d

The last letter should be the one you assigned when you labeled that drive.



Show us the output of:

# ls /dev/da0*


Regards,
Mikhail.

-- 
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: [EMAIL PROTECTED]
Web: www.webanoide.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unable to mount HDD - Newbie question

2007-05-14 Thread Oscar Chavarria

ls /dev/da0s1
/dev/da0s1

On 5/14/07, Mikhail Goriachev [EMAIL PROTECTED] wrote:


Oscar Chavarria wrote:
 fsck /dev/da0s1 /home
 fsck: could not determine filesystem type.

 Go figure. Might the hdd be damaged? I guess not since boot recognized
 it, right?


Please don't top-post and keep the conversation on the list.


It seems like you've tried to fsck only the slice (da0s1). You have to
fsck the partition itself:

# fsck /dev/da0s1d

The last letter should be the one you assigned when you labeled that
drive.



Show us the output of:

# ls /dev/da0*


Regards,
Mikhail.

--
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: [EMAIL PROTECTED]
Web: www.webanoide.org





--
Regards

Oscar Chavarria
Mobile:  +506 814-0247

*** The more I know people the more I love my FreeBSD ***

--- In a world without boundaries, we don't need Windows or Gates ---
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unable to mount HDD - Newbie question

2007-05-14 Thread Jerry McAllister
On Mon, May 14, 2007 at 09:58:54AM -0600, Oscar Chavarria wrote:

 ls /dev/da0s1
 /dev/da0s1

Again, please do not top post.   It makes it very hard to have any 
idea what you are referring to. The entire context of the
conversation gets lost.

In this case, what do you mean?
You just did an ls of a file name and found that it responsed
with the file name.   That is normal.   So, what?

Try doing ls /dev/da0s*  and see what you get.

Secondly, nowdays, the devfs system only makes devices that are
in use and makes them on the fly.   I haven't dug around in that
since the change since it was changed from the old MAKEDEV system
so I may be wrong, but I would not be surprised if /dev/da0s1d was
not there until after things were fixed up.

So, try the fsck as Mikhail suggested  -- with the partition name.

jerry

 
 On 5/14/07, Mikhail Goriachev [EMAIL PROTECTED] wrote:
 
 Oscar Chavarria wrote:
  fsck /dev/da0s1 /home
  fsck: could not determine filesystem type.
 
  Go figure. Might the hdd be damaged? I guess not since boot recognized
  it, right?
 
 
 Please don't top-post and keep the conversation on the list.
 
 
 It seems like you've tried to fsck only the slice (da0s1). You have to
 fsck the partition itself:
 
 # fsck /dev/da0s1d
 
 The last letter should be the one you assigned when you labeled that
 drive.
 
 
 
 Show us the output of:
 
 # ls /dev/da0*
 
 
 Regards,
 Mikhail.
 
 --
 Mikhail Goriachev
 Webanoide
 
 Telephone: +61 (0)3 62252501
 Mobile Phone: +61 (0)4 38255158
 E-Mail: [EMAIL PROTECTED]
 Web: www.webanoide.org
 
 
 
 
 -- 
 Regards
 
 Oscar Chavarria
 Mobile:  +506 814-0247
 
 *** The more I know people the more I love my FreeBSD ***
 
 --- In a world without boundaries, we don't need Windows or Gates ---
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unable to mount HDD - Newbie question

2007-05-14 Thread Mikhail Goriachev
Oscar Chavarria wrote:
 ls /dev/da0s1
 /dev/da0s1


Oscar, once again, don't top-post[1] please and show us the output of:

# ls /dev/da0*



Regards,
Mikhail.

[1] - http://en.wikipedia.org/wiki/Top-post

-- 
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: [EMAIL PROTECTED]
Web: www.webanoide.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unable to mount HDD - Newbie question

2007-05-14 Thread Paul Schmehl
--On Monday, May 14, 2007 12:05:47 -0400 Jerry McAllister [EMAIL PROTECTED] 
wrote:



On Mon, May 14, 2007 at 09:58:54AM -0600, Oscar Chavarria wrote:


ls /dev/da0s1
/dev/da0s1


Again, please do not top post.   It makes it very hard to have any
idea what you are referring to. The entire context of the
conversation gets lost.

In this case, what do you mean?
You just did an ls of a file name and found that it responsed
with the file name.   That is normal.   So, what?

Try doing ls /dev/da0s*  and see what you get.

Secondly, nowdays, the devfs system only makes devices that are
in use and makes them on the fly.   I haven't dug around in that
since the change since it was changed from the old MAKEDEV system
so I may be wrong, but I would not be surprised if /dev/da0s1d was
not there until after things were fixed up.

So, try the fsck as Mikhail suggested  -- with the partition name.



I'm wondering if he shouldn't try umount /home first.


Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


Re: Unable to mount HDD - Newbie question

2007-05-14 Thread Oscar Chavarria

If you will excuse me for now. I'm trying to solve the top-post problem.

I lost environmental power temporarily a few days ago, and when it was back
(almost immediately), the machine restarted without any input from me.

I had mounted to /home a 30 GB usb 2.0 hdd.

I tried mounting again since I did not find it in df.

The prompt is always WARNING: /home was not properly dismounted.

The output from dmesg is:
da0 at umass-sim0 bus 0 target 0 lun 0
da0: HITACHI- DK23 etc
WARNING: /home was not properly dismounted.

Thank you Paul, tried umount but the result was the same.

Tried this:
ls /dev/da0*
/dev/da0s  dev/da0s1
dev/da0s1c   dev/da0s1d

Thanks in advance for any help to mount the disk again.

On 5/14/07, Paul Schmehl [EMAIL PROTECTED] wrote:


--On Monday, May 14, 2007 12:05:47 -0400 Jerry McAllister [EMAIL PROTECTED]

wrote:

 On Mon, May 14, 2007 at 09:58:54AM -0600, Oscar Chavarria wrote:

 ls /dev/da0s1
 /dev/da0s1

 Again, please do not top post.   It makes it very hard to have any
 idea what you are referring to. The entire context of the
 conversation gets lost.

 In this case, what do you mean?
 You just did an ls of a file name and found that it responsed
 with the file name.   That is normal.   So, what?

 Try doing ls /dev/da0s*  and see what you get.

 Secondly, nowdays, the devfs system only makes devices that are
 in use and makes them on the fly.   I haven't dug around in that
 since the change since it was changed from the old MAKEDEV system
 so I may be wrong, but I would not be surprised if /dev/da0s1d was
 not there until after things were fixed up.

 So, try the fsck as Mikhail suggested  -- with the partition name.


I'm wondering if he shouldn't try umount /home first.


Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/





--
Regards

Oscar Chavarria
Mobile:  +506 814-0247

*** The more I know people the more I love my FreeBSD ***

--- In a world without boundaries, we don't need Windows or Gates ---
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unable to mount HDD - Newbie question

2007-05-14 Thread Mikhail Goriachev
Oscar Chavarria wrote:
 If you will excuse me for now. I'm trying to solve the top-post problem.
 
 I lost environmental power temporarily a few days ago, and when it was
 back (almost immediately), the machine restarted without any input from me.
 
 I had mounted to /home a 30 GB usb 2.0 hdd.
 
 I tried mounting again since I did not find it in df.
 
 The prompt is always WARNING: /home was not properly dismounted.
 
 The output from dmesg is:
 da0 at umass-sim0 bus 0 target 0 lun 0
 da0: HITACHI- DK23 etc
 WARNING: /home was not properly dismounted.
 
 Thank you Paul, tried umount but the result was the same.
 
 Tried this:
 ls /dev/da0*
 /dev/da0s 
 dev/da0s1  
 dev/da0s1c   dev/da0s1d


This is it. Your partition is /dev/da0s1d. Just try:


fsck -f /dev/da0s1d


... and then mount it.


Regards,
Mikhail.

-- 
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: [EMAIL PROTECTED]
Web: www.webanoide.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unable to mount HDD - Newbie question

2007-05-14 Thread Jerry McAllister
On Mon, May 14, 2007 at 11:33:16AM -0500, Paul Schmehl wrote:

 --On Monday, May 14, 2007 12:05:47 -0400 Jerry McAllister [EMAIL PROTECTED] 
 wrote:
 
 On Mon, May 14, 2007 at 09:58:54AM -0600, Oscar Chavarria wrote:
 
 ls /dev/da0s1
 /dev/da0s1
 
 Again, please do not top post.   It makes it very hard to have any
 idea what you are referring to. The entire context of the
 conversation gets lost.
 
 In this case, what do you mean?
 You just did an ls of a file name and found that it responsed
 with the file name.   That is normal.   So, what?
 
 Try doing ls /dev/da0s*  and see what you get.
 
 Secondly, nowdays, the devfs system only makes devices that are
 in use and makes them on the fly.   I haven't dug around in that
 since the change since it was changed from the old MAKEDEV system
 so I may be wrong, but I would not be surprised if /dev/da0s1d was
 not there until after things were fixed up.
 
 So, try the fsck as Mikhail suggested  -- with the partition name.
 
 
 I'm wondering if he shouldn't try umount /home first.

If there is something mounted there, yes.
Does  df  show anything mounted at /home?

If so, then the umount will be helpful.

But, I think the correct fsck may be the needed thing to try.

jerry

 
 
 Paul Schmehl ([EMAIL PROTECTED])
 Senior Information Security Analyst
 The University of Texas at Dallas
 http://www.utdallas.edu/ir/security/


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]