FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 01-03-2008, 03:03 AM
Tim McGeary
 
Default mounting & partitioning Seagate FreeAgent external HD

Hi all,

As a disclaimer, I'm new to this list and very green administering
CentOS. I run it on my test servers and do very basic networking and
server administration (most users, permissions, and web app stuff).


I have a backup server that I am using rsync to collect important
in-process file for our digital library from both Windows and Linux
servers, as well as a specific applications which are updated on a
separate test server.


This backup server ran out of space and I have no more internal slots
available to add another disk, so I bought a 750 GB Seagate FreeAgent
external USB hard drive. I've seen some various issues out there about
how Seagate FA HDs go into sleep mode when used in the manner I want to,
but all of the people posting about that seemed to be able to mount
theirs with no problem.


I can see the device in my /proc/bus/usb/devices file, but fdisk -l
doesn't show it at all. I was trying to mount and partition it using
Webmin, but I can't figure out the device name I need to give it to
mount and partition it. How is the best way to figure that out? This
particular server is running CentOS 4.


Thanks,
Tim

--
Tim McGeary
Senior Systems Specialist
Lehigh University
610-758-4998
tim.mcgeary@lehigh.edu
Google Talk: timmcgeary
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 01-03-2008, 03:50 AM
"Barry L. Kline"
 
Default mounting & partitioning Seagate FreeAgent external HD

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tim McGeary wrote:

> I can see the device in my /proc/bus/usb/devices file, but fdisk -l
> doesn't show it at all. I was trying to mount and partition it using
> Webmin, but I can't figure out the device name I need to give it to
> mount and partition it. How is the best way to figure that out? This
> particular server is running CentOS 4.

Unplug the drive.
from root: tail -f /var/log/messages

Now plug in the drive and watch the messages scroll by. That'll tell
you very easily what the drive assignment is.

Barry

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFHfGmYCFu3bIiwtTARAlKHAJ9xfgxa/p5R/2oT/8ZsTTs8rFc53gCfbad9
VYhaPdFzEnLTbhaXidvgh4I=
=J90j
-----END PGP SIGNATURE-----
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 01-03-2008, 04:00 AM
Tim McGeary
 
Default mounting & partitioning Seagate FreeAgent external HD

Barry L. Kline wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tim McGeary wrote:


I can see the device in my /proc/bus/usb/devices file, but fdisk -l
doesn't show it at all. I was trying to mount and partition it using
Webmin, but I can't figure out the device name I need to give it to
mount and partition it. How is the best way to figure that out? This
particular server is running CentOS 4.


Unplug the drive.
from root: tail -f /var/log/messages

Now plug in the drive and watch the messages scroll by. That'll tell
you very easily what the drive assignment is.



Thanks for this suggestion, Barry. I'll try it tomorrow when I get back
to the office.


TIm

Tim McGeary '99, '06G
Senior Systems Specialist
Lehigh University
610-758-4998
tim.mcgeary@lehigh.edu
Google Talk: timmcgeary
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 01-03-2008, 04:32 AM
"James A. Peltier"
 
Default mounting & partitioning Seagate FreeAgent external HD

Tim McGeary wrote:

Hi all,

As a disclaimer, I'm new to this list and very green administering
CentOS. I run it on my test servers and do very basic networking and
server administration (most users, permissions, and web app stuff).


I have a backup server that I am using rsync to collect important
in-process file for our digital library from both Windows and Linux
servers, as well as a specific applications which are updated on a
separate test server.


This backup server ran out of space and I have no more internal slots
available to add another disk, so I bought a 750 GB Seagate FreeAgent
external USB hard drive. I've seen some various issues out there
about how Seagate FA HDs go into sleep mode when used in the manner I
want to, but all of the people posting about that seemed to be able to
mount theirs with no problem.


I can see the device in my /proc/bus/usb/devices file, but fdisk -l
doesn't show it at all. I was trying to mount and partition it using
Webmin, but I can't figure out the device name I need to give it to
mount and partition it. How is the best way to figure that out? This
particular server is running CentOS 4.


Thanks,
Tim

If it's a brand new drive it will not have a valid partition table. A
simple sudo /sbin/fdisk -l will show all drives and their partition
tables. The one with an invalid partition table is the one you're
interested in.

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 01-03-2008, 04:33 AM
"James A. Peltier"
 
Default mounting & partitioning Seagate FreeAgent external HD

James A. Peltier wrote:

Tim McGeary wrote:

Hi all,

As a disclaimer, I'm new to this list and very green administering
CentOS. I run it on my test servers and do very basic networking and
server administration (most users, permissions, and web app stuff).


I have a backup server that I am using rsync to collect important
in-process file for our digital library from both Windows and Linux
servers, as well as a specific applications which are updated on a
separate test server.


This backup server ran out of space and I have no more internal slots
available to add another disk, so I bought a 750 GB Seagate FreeAgent
external USB hard drive. I've seen some various issues out there
about how Seagate FA HDs go into sleep mode when used in the manner I
want to, but all of the people posting about that seemed to be able
to mount theirs with no problem.


I can see the device in my /proc/bus/usb/devices file, but fdisk -l
doesn't show it at all. I was trying to mount and partition it using
Webmin, but I can't figure out the device name I need to give it to
mount and partition it. How is the best way to figure that out?
This particular server is running CentOS 4.


Thanks,
Tim

If it's a brand new drive it will not have a valid partition table. A
simple sudo /sbin/fdisk -l will show all drives and their partition
tables. The one with an invalid partition table is the one you're
interested in.



Sorry, just read again and noticed that fdisk did not show you anything.
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 01-03-2008, 02:28 PM
Tim McGeary
 
Default mounting & partitioning Seagate FreeAgent external HD

James A. Peltier wrote:

James A. Peltier wrote:

Tim McGeary wrote:

Hi all,


[snip]


I can see the device in my /proc/bus/usb/devices file, but fdisk -l
doesn't show it at all. I was trying to mount and partition it using
Webmin, but I can't figure out the device name I need to give it to
mount and partition it. How is the best way to figure that out?
This particular server is running CentOS 4.


Thanks,
Tim

If it's a brand new drive it will not have a valid partition table. A
simple sudo /sbin/fdisk -l will show all drives and their partition
tables. The one with an invalid partition table is the one you're
interested in.



Sorry, just read again and noticed that fdisk did not show you anything.


Actually, your first email made me double check this to see if I was
missing something and I was (or maybe it really wasn't there initially).
So what I see now is:


Disk /dev/sda: 750.1 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 91201 732572001 7 HPFS/NTFS

This is definitely the drive. So when I try to use Webmin to mount and
partition device /dev/sda (and also tried /dev/sda2) as a New Linux
Native Filesystem (ext3), I get the error of:


Failed to save mount : Mount failed :
mount: wrong fs type, bad option, bad superblock on /dev/sda,
or too many mounted file systems

So I'm guessing I'm using the wrong file system type. What should I use
instead of ext3?


Thanks,
Tim

Tim McGeary '99, '06G
Senior Systems Specialist
Lehigh University
610-758-4998
tim.mcgeary@lehigh.edu
Google Talk: timmcgeary
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 01-03-2008, 04:34 PM
Joshua Baker-LePain
 
Default mounting & partitioning Seagate FreeAgent external HD

On Thu, 3 Jan 2008 at 10:28am, Tim McGeary wrote

Actually, your first email made me double check this to see if I was missing
something and I was (or maybe it really wasn't there initially). So what I
see now is:


Disk /dev/sda: 750.1 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 91201 732572001 7 HPFS/NTFS

This is definitely the drive. So when I try to use Webmin to mount and
partition device /dev/sda (and also tried /dev/sda2) as a New Linux Native
Filesystem (ext3), I get the error of:


Failed to save mount : Mount failed :
mount: wrong fs type, bad option, bad superblock on /dev/sda,
or too many mounted file systems

So I'm guessing I'm using the wrong file system type. What should I use
instead of ext3?


The drive is formatted NTFS, which is pretty much useless under Linux.
Assuming you intend to only use this drive in Linux, you simply need to
reformat the drive.


mke2fs -j /dev/sda1
mount -t ext3 /dev/sda1 /mnt/point

Obviously, substitute your desired mount point for "/mnt/point".

--
Joshua Baker-LePain
QB3 Shared Cluster Sysadmin
UCSF
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 01-03-2008, 04:39 PM
Scott Silva
 
Default mounting & partitioning Seagate FreeAgent external HD

on 1/3/2008 7:28 AM Tim McGeary spake the following:

James A. Peltier wrote:

James A. Peltier wrote:

Tim McGeary wrote:

Hi all,


[snip]


I can see the device in my /proc/bus/usb/devices file, but fdisk -l
doesn't show it at all. I was trying to mount and partition it
using Webmin, but I can't figure out the device name I need to give
it to mount and partition it. How is the best way to figure that
out? This particular server is running CentOS 4.


Thanks,
Tim

If it's a brand new drive it will not have a valid partition table. A
simple sudo /sbin/fdisk -l will show all drives and their partition
tables. The one with an invalid partition table is the one you're
interested in.


Sorry, just read again and noticed that fdisk did not show you
anything.


Actually, your first email made me double check this to see if I was
missing something and I was (or maybe it really wasn't there initially).
So what I see now is:


Disk /dev/sda: 750.1 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 91201 732572001 7 HPFS/NTFS

This is definitely the drive. So when I try to use Webmin to mount and
partition device /dev/sda (and also tried /dev/sda2) as a New Linux
Native Filesystem (ext3), I get the error of:


Failed to save mount : Mount failed :
mount: wrong fs type, bad option, bad superblock on /dev/sda,
or too many mounted file systems

So I'm guessing I'm using the wrong file system type. What should I use
instead of ext3?


It is formatted with NTFS since it was probably intended for a windows system.
You can redo it to ext3 if you are only going to use it on the linux box.
Since you are going to do it from webmin, you can delete the original
partition, create a new one for linux using the entire drive, and format it.
You have to use the Partitions on local disks tab in webmin to format the
drive BEFORE mounting it.


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't!!!!

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 01-04-2008, 12:12 AM
Anup Shukla
 
Default mounting & partitioning Seagate FreeAgent external HD

Tim McGeary wrote:


Device Boot Start End Blocks Id System
/dev/sda1 1 91201 732572001 7 HPFS/NTFS

This is definitely the drive. So when I try to use Webmin to mount and
partition device /dev/sda (and also tried /dev/sda2) as a New Linux
Native Filesystem (ext3), I get the error of:


Failed to save mount : Mount failed :
mount: wrong fs type, bad option, bad superblock on /dev/sda,
or too many mounted file systems

So I'm guessing I'm using the wrong file system type. What should I use
instead of ext3?




Its NTFS !

http://lists.centos.org/pipermail/centos/2005-June/048553.html

Hope this helps.


_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 01-05-2008, 06:20 PM
MHR
 
Default mounting & partitioning Seagate FreeAgent external HD

On Jan 3, 2008 9:34 AM, Joshua Baker-LePain <jlb17@duke.edu> wrote:
>
> The drive is formatted NTFS, which is pretty much useless under Linux.

Forgive me, but this is simply not true.* There is a fully functional NTFS module available for read-write support in CentOS 5 (if you build your own kernel), and I haven't actually looked at the CentOSplus kernel yet.


NTFS is obviously not the file system of choice for a Linux machine, but it is far from useless.

Regards.

mhr


_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 03:05 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org