1. Store
  2. Apps
  3. Hardware
  4. Support
  5. Solutions

ClearFoundation

Forums
Welcome, Guest
external harddisk
(1 viewing) 1 Guest
Go to bottomPage: 12
TOPIC: external harddisk
#47238
external harddisk 7 Months ago  
I am totaly new on this forum. This week I installed ClearOS community on a computer. And it runs perfect. Because I needed more memory I put an external harddisk to the computer (after installing ClearOS), but i did not notice any effect: I don't see the harddisk and I don't know how to add it to the system. Please help me.
anno
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#47239
Re: external harddisk 7 Months ago  
This post gives you the basic steps. Skip the first step. The second step you can do through PuTTy rather than from a terminal. Please remember to unmount the drive before you unplug it.
Nick Howitt
Platinum Boarder
Posts: 4148
graphgraph
User Online Now Click here to see the profile of this user
The administrator has disabled public write access.
 
#47240
Re: external harddisk 7 Months ago  
Thank you Nick,

I tried to follow the points:
"The kmod-atl2 driver should do what you want. The trick as Nick posted is getting it on to the box (You could mount a live CD and transfer it that way? as it will support auto mounting of usb drives)

Steps to do it manually:-

Download download.clearfoundation.com/community/t....el5.elrepo.i686.rpm to somewhere useful, save it on a usb dongle. Make sure it's formatted as FAT32, or Ext2 or 3

Plug it in to a USB port on the ClearOS box, press ctrl+alt+F2 to get to a console prompt and login as root."

Because I don't know Putti , I tried this steps, but when I press ctrl+alt+F2 nothing happens!
anno
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#47247
Re: external harddisk 7 Months ago  
The steps you want are:
  1. Plug in to a USB port on the ClearOS box, press ctrl+alt+F2 to get to a console prompt and login as root.

  2. Type 'dmesg' and note the new device entry (you should see something called sda or sdb depending on how many devices you already have in use)

  3. Try and found out what partitions it has... by running 'fdisk -l /dev/sda'

  4. Then try to mount it using the partition info (assuming sda1 here)
    Code:

    mkdir /mnt/usbdrive
    mount /dev/sda1 /mnt/usbdrive
    cd /mnt/usbdrive
    ls


  5. You should now be able to see the contents of your USB drive under /mnt/usbdrive.


You can do this from the console if you want by issuing ctrl+alt+F2 to get to a console prompt and login as root, but, if you have a Windoze PC it is generally easier to use PuTTy

The other steps were irrelevant to you. Where did you try the ctrl+alt+F2? It may just be alt+F2 from the console, but I so rarely use it, I can't remember.
Nick Howitt
Platinum Boarder
Posts: 4148
graphgraph
User Online Now Click here to see the profile of this user
Last Edit: 2012/10/22 16:56 By NickH.
The administrator has disabled public write access.
 
#47260
Re: external harddisk 7 Months ago  
Thank you again, Nick.
I have been in the console of my ClearOS-computer and I have done the instructions you gave. I have got a great many informations when I typed "dmesg" but I did not see the external disk: only sda. The external disk is formatted as ntfs. Maybe that is the problem?
anno
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#47263
Re: external harddisk 7 Months ago  
At this point I don't think how the disk is formatted should affect dmesg. It may, however, stop you from mounting it and you may need to install ntfs-3g to write to the disk.

If you used PuTTy you could copy and paste the output of dmesg to the forum. Perhaps you could do "dmesg > /usr/src/dmesg.txt" from the console. This will produce the file dmesg.txt in /usr/src which you could then copy and paste into a post. If you're wondering how to download the file to a PC from ClearOS, another useful tool is WinSCP which is a graphical file manager and text editor which runs on a PC but can access ClearOS.

Please remember to plug the disk in just prior to running dmseg, then any output should appear near the bottom of the output.
Nick Howitt
Platinum Boarder
Posts: 4148
graphgraph
User Online Now Click here to see the profile of this user
The administrator has disabled public write access.
 
#47267
Re: external harddisk 7 Months ago  
Nick, I see the disk now in the console of the ClearOS computer as sdb, but when i try "mount /dev/sda1 /mnt/usbdrive" I get the message:"you must specify the filesystem type. And I don't Know how to do that. PS I use Ubuntu on the other computer. I have found how to specify the fylesystem, but now i get: "unknown filisystem type 'NTFS'."
anno
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2012/10/23 09:58 By annowillem.
The administrator has disabled public write access.
 
#47278
Re: external harddisk 7 Months ago  
I trust you really tried to mount sdb1 and not sda1? Have you created the /mnt/usbdrive folder (or any folder you want to mount the drive into)? As you have an NTFS filesystem you may have to install ntfs-3g. Then if you search the forum for ntfs-3g you'll come across this post with the correct syntax to mount an NTFS drive. If you need to install ntfs-3g try:
Code:

yum install ntfs-3g --enablerepo=clearos-epel

Try first without installing the package.

Note I have never mounted an NTFS disk before so this is a bit new to me as well.
Nick Howitt
Platinum Boarder
Posts: 4148
graphgraph
User Online Now Click here to see the profile of this user
The administrator has disabled public write access.
 
#47289
Re: external harddisk 7 Months ago  
I have formatted the disk to ext3, and when I give the last command (ls) nothing is rapported, but that will be ok, I think, because there is nothing left on that disk. Now is my next question: how can I use this new harddisk, because in the dashboard it seems nothing has been changed.
anno
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#47295
Re: external harddisk 7 Months ago  
How do you want to use it? Did you want more flexshare space or something else?
Nick Howitt
Platinum Boarder
Posts: 4148
graphgraph
User Online Now Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 12
  get the latest posts directly to your desktop