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

ClearFoundation

Forums
Welcome, Guest
second hard drive
(1 viewing) 1 Guest
Go to bottomPage: 1
TOPIC: second hard drive
#43701
second hard drive 10 Months, 1 Week ago  
My ClearOS-computer has 2 hard drives build in.
Harddisk #2 is empty and I would like to use it to store my personal files, so that I can browse them on my Windows-computers?
How do I setup the harddisk into ClearOS?
Guido
Expert Boarder
Posts: 86
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#43703
Re:second hard drive 10 Months, 1 Week ago  
you have to partition the drive and format via the CLI after that you have to mount it.
Marcel van Leeuwen
Platinum Boarder
Posts: 1365
graphgraph
User Online Now Click here to see the profile of this user
The administrator has disabled public write access.
 
#43705
Re: second hard drive 10 Months, 1 Week ago  
There are plenty of references to do this on the internet such as this but the idea is as follows:
1 - Format the drive
2 - mount it into a folder in ClearOS
3 - modify fstab to make the mounting permanent

You have a few ways you have a Windows share there:
1 - Configure samba manually to create shares there
2 - mount the disk into the /var/flexshare/shares folder and use the flexshare as normal
3 - define a custom flexshare directory
4 - look at the mount command with the bind switch to mount the drive into an existing flexshare folder/sub-folder

If you use method 2 (possibly the easiest), move any data you have in the flexshare to your new drive first or you will not be able to see or access it. (You won't have lost it, it just becomes invisible)

[edit]
Marcel beat me.
[/edit]
Nick Howitt
Platinum Boarder
Posts: 4137
graphgraph
User Online Now Click here to see the profile of this user
Last Edit: 2012/07/15 15:36 By NickH.
The administrator has disabled public write access.
 
#43707
Re: second hard drive 10 Months, 1 Week ago  
@Nick

It's a bit harder for me to explain this is not my native language but Nick nice post can't do it better

@Guido

Yes you should do option 2. I think this is best for your situation.
Marcel van Leeuwen
Platinum Boarder
Posts: 1365
graphgraph
User Online Now Click here to see the profile of this user
The administrator has disabled public write access.
 
#43708
Re:second hard drive 10 Months, 1 Week ago  
Guido,

You have to partition your drive with fdisk via the CLI. For example:

Code:



fdisk /dev/sdx




the x has to replace with the drive you want to partition


Also you can do

Code:



fdisk -l




This list the drives of you system.

Do some googling
Marcel van Leeuwen
Platinum Boarder
Posts: 1365
graphgraph
User Online Now Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
  get the latest posts directly to your desktop