hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Mount Secondary H.D.D
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

Mount Secondary H.D.D

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 05-20-2008, 02:26 PM
persianwhois persianwhois is offline
Web Hosting Guru
 
Join Date: Mar 2008
Posts: 263

Mount Secondary H.D.D


Hi,

I wish to mount secondary H.D.D to /backup, but i have following error after run "mount /dev/sdb1 backup"
Code:
mount: unknown filesystem type 'ntfs'
How can change secondary hard disk file system to linux?

Thanks

__________________
Need More Power?!
PersianWhois.Com

Reply With Quote


Sponsored Links
  #2  
Old 05-20-2008, 02:45 PM
Patrick Patrick is offline
Stairway To Hosting
 
Join Date: Mar 2003
Location: Canada
Posts: 7,959
What file system is /dev/sdb1 currently using? (I know it says ntfs, but I figured I would ask first...)

__________________

SYN Hosting - Affordable, Reliable & Secure Web Hosting - Proudly In Business Since 2006!

Host Unlimited Websites -/- cPanel -/- Softaculous -/- CloudFlare -/- SSH Access -/- 24/7 Tech Support
http://www.synhosting.com - Need a Canadian budget managed dedicated server? Click here for details.

Reply With Quote
  #3  
Old 05-20-2008, 03:13 PM
RoseHosting RoseHosting is offline
Aspiring Evangelist
 
Join Date: Nov 2001
Posts: 389
Try "mount -t ntfs /dev/sdb1 /backup"

Also, check if you have "ntfs" modules installed.

Finaly, you can install QtParted (http://qtparted.sourceforge.net/) it is a GUI partition manager, and after that you will be able to do whatever you want with your HDD, like, change size, number of partitions, size of partitions, type of partitions etc....

Quote:
Originally Posted by persianwhois View Post
Hi,

I wish to mount secondary H.D.D to /backup, but i have following error after run "mount /dev/sdb1 backup"
Code:
mount: unknown filesystem type 'ntfs'
How can change secondary hard disk file system to linux?

Thanks

__________________
---=== RoseHosting.com Admin ===---
Linux Cloud Hosting - linuxcloudvps.com
Linux VPS Hosting Specials - rosehosting.com/vps-hosting-specials.html
High Quality Linux virtual servers with lots of Guaranteed RAM and HDD space, Impeccable Service.

Reply With Quote
Sponsored Links
  #4  
Old 05-21-2008, 02:10 AM
persianwhois persianwhois is offline
Web Hosting Guru
 
Join Date: Mar 2008
Posts: 263
We have "mount: unknown filesystem type 'ntfs'" when try to mount by "mount -t ntfs /dev/sdb1 /backup"

How can fix this issue?

__________________
Need More Power?!
PersianWhois.Com

Reply With Quote
  #5  
Old 05-21-2008, 03:30 AM
Xous Xous is offline
Aspiring Evangelist
 
Join Date: Jun 2003
Posts: 363
Depending on you distribution you may either need recompile your kernel or download the correct module binary for your kernel.

I suggest try searching google for something like "[distribution] ntfs module" for instructions.

If you do not need to get any data off of the device you can simply change the partition type with fdisk or cfdisk and then format it with the appropriate linux file system such i.e. mkfs.ext3 /dev/sdb1.

Reply With Quote
  #6  
Old 05-21-2008, 06:52 AM
gigatux gigatux is offline
Corporate Member
 
Join Date: Dec 2006
Location: London
Posts: 658
From memory, I believe the standard ntfs module only allows read only access to the filesystem in question. I think something like ntfs-3g (supplied with many modern distributions) will handle read/write access to NTFS partitions.

__________________
GigaTux, Value Linux Hosting
UK, US and Germany based Xen VPS. Reliability is key! Quick support response and 99.9% SLA.


Reply With Quote
  #7  
Old 05-21-2008, 10:26 AM
persianwhois persianwhois is offline
Web Hosting Guru
 
Join Date: Mar 2008
Posts: 263
How can chage /dev/sdb1 file system to linux?

__________________
Need More Power?!
PersianWhois.Com

Reply With Quote
  #8  
Old 05-21-2008, 10:34 AM
gigatux gigatux is offline
Corporate Member
 
Join Date: Dec 2006
Location: London
Posts: 658
Run fdisk (as root - BE VERY CAREFUL) on /dev/sdb. Change the filesystem type to Linux (83) and then rewrite the partition table. You will lose all data on that partition.

Then, choose your filesystem. To keep things simple, let's say you choose ext3. Type mkfs.ext3 /dev/sdb1. It will then start creating the file system.

Et viola. I recommend you read up a lot more on this subject before as you run a big risk of destroying data.

__________________
GigaTux, Value Linux Hosting
UK, US and Germany based Xen VPS. Reliability is key! Quick support response and 99.9% SLA.


Reply With Quote
  #9  
Old 05-21-2008, 10:50 AM
persianwhois persianwhois is offline
Web Hosting Guru
 
Join Date: Mar 2008
Posts: 263
We have:

Code:
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      104391   83  Linux
/dev/sda2              14        6540    52428127+  83  Linux
/dev/sda3            6541        7062     4192965   82  Linux swap / Solaris
/dev/sda4            7063       60801   431658517+   5  Extended
/dev/sda5            7063        8368    10490413+  83  Linux
/dev/sda6            8369       10322    15695473+  83  Linux
/dev/sda7           10323       10710     3116578+  83  Linux
/dev/sda8           10711       23800   105145393+  83  Linux
/dev/sda9           23801       60801   297210501   83  Linux

Disk /dev/sdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1       30400   244187968+   7  HPFS/NTFS
250.0GB do not have any useful data and its not problem to loss data.
But we have many important data on 500.1GB and need to save this.

Is it possibility to loss 500gb H.D.D after i run "fdisk /dev/sdb"?
Help me please.

__________________
Need More Power?!
PersianWhois.Com

Reply With Quote
  #10  
Old 05-21-2008, 10:54 AM
gigatux gigatux is offline
Corporate Member
 
Join Date: Dec 2006
Location: London
Posts: 658
Quote:
Originally Posted by persianwhois View Post
Is it possibility to loss 500gb H.D.D after i run "fdisk /dev/sdb"?

If you're definitely typing in fdisk /dev/sdb, no, there is no way to lose data from /dev/sda using this. Usual disclaimer applies though.

__________________
GigaTux, Value Linux Hosting
UK, US and Germany based Xen VPS. Reliability is key! Quick support response and 99.9% SLA.


Reply With Quote
  #11  
Old 05-21-2008, 11:07 AM
persianwhois persianwhois is offline
Web Hosting Guru
 
Join Date: Mar 2008
Posts: 263
What i must doing now?

Code:
root@server [~]# fdisk /dev/sdb

The number of cylinders for this disk is set to 30401.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

__________________
Need More Power?!
PersianWhois.Com

Reply With Quote
  #12  
Old 05-21-2008, 11:10 AM
gigatux gigatux is offline
Corporate Member
 
Join Date: Dec 2006
Location: London
Posts: 658
I'm sure you'll be able to figure it out with a little Googling now. Try sites such as http://tldp.org/HOWTO/Partition/fdisk_partitioning.html

__________________
GigaTux, Value Linux Hosting
UK, US and Germany based Xen VPS. Reliability is key! Quick support response and 99.9% SLA.


Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Amazon Explains Recent Cloud Outage was Caused by Power Failure Web Hosting News 2012-06-18 11:11:22
Inside ByteGrid's Wholesale Data Center Expansion Strategy Web Hosting News 2012-05-30 12:44:04
Green House Data Expands Cloud Hosting to West Coast with Oregon Data Center Web Hosting News 2012-04-09 10:42:34
Web Host Savvis Wins Equity Market BATS Global Disaster Recovery Contract Web Hosting News 2012-01-19 14:18:44
Registrar EuroDNS Launches Marketplace with Afternic Domain Listing Service Web Hosting News 2011-11-18 15:21:59


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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 Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?