Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

how to use a 1TB disk?

 
   Soft32 Home -> Linux -> Hardware RSS
Next:  xf86-video-ati and crossfire  
Author Message
=SERGE=

External


Since: Oct 19, 2007
Posts: 12



(Msg. 1) Posted: Tue Oct 13, 2009 3:20 pm
Post subject: how to use a 1TB disk?
Archived from groups: comp>os>linux>hardware (more info?)

Hello,

How should I use a 1 TB hd? The disk is intended to store music files and
videos.
Can just make 1 huge 1TB partition or maybe it's better to split the disk in
two partions?
Or there is no difference at all?

Thank you
Back to top
Login to vote
ray

External


Since: Apr 10, 2007
Posts: 375



(Msg. 2) Posted: Tue Oct 13, 2009 3:20 pm
Post subject: Re: how to use a 1TB disk? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Tue, 13 Oct 2009 22:28:40 +0400, =SERGE= wrote:

> Hello,
>
> How should I use a 1 TB hd? The disk is intended to store music files and
> videos.
> Can just make 1 huge 1TB partition or maybe it's better to split the disk in
> two partions?
> Or there is no difference at all?
>
> Thank you

Main difference I can think of is: how to plan to back things up - or do
you? It's going to be a pain to backup 1tb.
Back to top
Login to vote
Jon Solberg

External


Since: Sep 29, 2009
Posts: 13



(Msg. 3) Posted: Tue Oct 13, 2009 3:20 pm
Post subject: Re: how to use a 1TB disk? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 2009-10-13, ray <ray.RemoveThis@zianet.com> wrote:
> On Tue, 13 Oct 2009 22:28:40 +0400, =SERGE= wrote:
>

>> How should I use a 1 TB hd? The disk is intended to store music files and
>> videos.
>> Can just make 1 huge 1TB partition or maybe it's better to split the disk in
>> two partions?
>> Or there is no difference at all?
>
> Main difference I can think of is: how to plan to back things up - or do
> you? It's going to be a pain to backup 1tb.

No, you just get two additional drives and keep them in separate
psychical locations. Smile

--
Jon Solberg (remove "nospam" from email address).
Back to top
Login to vote
Aragorn

External


Since: Dec 10, 2008
Posts: 65



(Msg. 4) Posted: Tue Oct 13, 2009 9:20 pm
Post subject: Re: how to use a 1TB disk? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Tuesday 13 October 2009 20:28 in comp.os.linux.hardware, somebody
identifying as =SERGE= wrote...

> Hello,
>
> How should I use a 1 TB hd? The disk is intended to store music files
> and videos.
> Can just make 1 huge 1TB partition or maybe it's better to split the
> disk in two partions?
> Or there is no difference at all?

Well, the question you are asking is one that involves a lot of personal
taste, actually, so in essence only you would be qualified to judge how
you will be using this disk. Wink Personally however, I would suggest
the following...

Given the intended use of the disk for music files and video - so
basically, it's all multimedia stuff - I would first of all mount
whatever partitions you'll create on it to */srv* or a subdirectory
thereof. The */srv* directory is not implemented in most GNU/Linux
distributions, but it is specified in the File Hierarchy Standard (FHS)
version 2.3, and it is intended for shareable data.

So how to go about this? Well, one could use a single partition, or one
could distinguish between that which is solely audio and that which is
video (with audio, of course), in which case there would be two
partitions. However, the question then arises on what capacity to use
for either partition, and whether one partition will not prove to be
too large and the other too small at some point in the future.

Therefore, I would propose making use of LVM. You use /pvcreate/ to
prepare the disk for logical volumes - it is not necessary to create a
classic partition on it, although you can, and if so, then you should
only create one partition.

So say that this disk is of the SATA type and that it is your second
disk, then the disk itself would be */dev/sdb* and the partition you
create on it would be */dev/sdb1.* If you create a partition, then
that partition is what you should use /pvcreate/ on. Next, you
use /vgcreate/ to create a volume group - let's call it
*/dev/multimedia* or something - and in it, you create two logical
volumes - e.g. */dev/multimedia/audio* and */dev/multimedia/video* -
using /lvcreate./ (Note: all of the LVM tools have excellent /man/
pages, so be advised to read them before using the tools.)

Most modern distributions automatically scan all available hard disks
for logical volume groups and logical volumes at boot time, but
you /may/ have to look at your /init/ scripts to ensure that the new
disk will be scanned as well. This scanning is necessary because
logical volumes are an abstraction layer above the physical layer of
disks and partitions, and thus the kernel needs to be told of the
existence of those volumes before you can mount and access them. The
fact that LVM is an abstraction layer also translates in the need for
the */boot* filesystem - or the root filesystem if you don't have a
separate */boot* partition - to reside on a physical partition if
you're going to use GRUB as a bootloader, because GRUB knows about
partitions and filesystems but GRUB isn't capable of loading a kernel
off a logical volume.

Now, why would you use logical volumes? Well, as I mentioned higher up,
partition sizes are static, and you may want to adjust the size on the
fly depending on your needs. Logical volume management is far more
flexible than fixed-size partitions, eventhough you can of course grow
traditional partitions and filesystems if enough free diskspace is
available, and eventhough even logical volumes have their limitations.

Yet there is a lot more you can do with LVM than with fixed partitions,
and in addition to that, you are not limited to the maximum amount of
regular partitions per disk that the kernel allows - i.e. 15 partitions
per disk with SAS/SCSI/SATA/USB and the newer /libata/ approach to
IDE/PATA disks (i.e. the */dev/sd[az]* device nodes) or 63 partitions
per disk with the older legacy IDE/PATA driver code (i.e. the
*/dev/hd[az]* device nodes).

Considering the dynamic nature of the data you will be storing on that
disk, I definitely recommend using LVM. Create two volumes of about
equal size, or differing size if more appropriate to your present
situation. Make them large enough to hold the data you currently have,
but leave enough extra space available on the disk - or on the
partition, should you choose to create one - to grow either logical
volume when expansion is needed. The extra free space can always be
alotted to either of the two volumes without having to reformat
anything or fiddle with partition tables, simply by using the LVM
tools.

Hope this was helpful. Wink

--
*Aragorn*
(registered GNU/Linux user #223157)
Back to top
Login to vote
Aragorn

External


Since: Dec 10, 2008
Posts: 65



(Msg. 5) Posted: Tue Oct 13, 2009 9:20 pm
Post subject: Re: how to use a 1TB disk? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Tuesday 13 October 2009 21:32 in comp.os.linux.hardware, somebody
identifying as Jon Solberg wrote...

> On 2009-10-13, ray <ray.TakeThisOut@zianet.com> wrote:
>> On Tue, 13 Oct 2009 22:28:40 +0400, =SERGE= wrote:
>>
>
>>> How should I use a 1 TB hd? The disk is intended to store music
>>> files and videos.
>>> Can just make 1 huge 1TB partition or maybe it's better to split the
>>> disk in two partions?
>>> Or there is no difference at all?
>>
>> Main difference I can think of is: how to plan to back things up - or
>> do you? It's going to be a pain to backup 1tb.
>
> No, you just get two additional drives and keep them in separate
> psychical locations. Smile

I would recommend *physical* locations instead. Psychic locations might
prove interesting but may be a little harder to implement. :pp

(Just kidding, of course - I know that it was a typo and that English is
not your main language. Wink)

--
*Aragorn*
(registered GNU/Linux user #223157)
Back to top
Login to vote
Jon Solberg

External


Since: Sep 29, 2009
Posts: 13



(Msg. 6) Posted: Wed Oct 14, 2009 3:20 am
Post subject: Re: how to use a 1TB disk? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 2009-10-14, Aragorn <aragorn.RemoveThis@chatfactory.invalid> wrote:
> On Tuesday 13 October 2009 21:32 in comp.os.linux.hardware, somebody
> identifying as Jon Solberg wrote...
>
>> On 2009-10-13, ray <ray.RemoveThis@zianet.com> wrote:
>>> On Tue, 13 Oct 2009 22:28:40 +0400, =SERGE= wrote:
>>>
>>
>>>> How should I use a 1 TB hd? The disk is intended to store music
>>>> files and videos.
>>>> Can just make 1 huge 1TB partition or maybe it's better to split the
>>>> disk in two partions?
>>>> Or there is no difference at all?
>>>
>>> Main difference I can think of is: how to plan to back things up - or
>>> do you? It's going to be a pain to backup 1tb.
>>
>> No, you just get two additional drives and keep them in separate
>> psychical locations. Smile
>
> I would recommend *physical* locations instead. Psychic locations might
> prove interesting but may be a little harder to implement. :pp
>
> (Just kidding, of course - I know that it was a typo and that English is
> not your main language. Wink)

Oops. I blame it all to ispell. Wink

--
Jon Solberg (remove "nospam." from email address).
Back to top
Login to vote
Trevor Hemsley

External


Since: Jan 16, 2007
Posts: 11



(Msg. 7) Posted: Wed Oct 14, 2009 12:14 pm
Post subject: Re: how to use a 1TB disk? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Wed, 14 Oct 2009 13:21:15 UTC in comp.os.linux.hardware, Andrew Gideon
<c182driver1.TakeThisOut@gideon.org> wrote:

> Is this reliable?

No.

--
Trevor Hemsley, Brighton, UK
Trevor dot Hemsley at ntlworld dot com
Back to top
Login to vote
DenverD

External


Since: Jul 20, 2009
Posts: 18



(Msg. 8) Posted: Thu Oct 15, 2009 5:20 am
Post subject: Re: how to use a 1TB disk? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

> How should I use a 1 TB hd?

isn't that kinda like asking: i responded to one of those net
advertisements selling methods of increasing one's "manhood", and now
i wanna know how i should use the monster?

must be a slow news day..huh?
--
DenverD (Linux Counter 282315) via Thunderbird 2.0.0.23 (20090817),
KDE 3.5.7 "release 72-11", openSUSE Linux 10.3, 2.6.22.19-0.4-default
#1 SMP i686 athlon
Back to top
Login to vote
Hans-Joachim Zierke

External


Since: Oct 17, 2009
Posts: 2



(Msg. 9) Posted: Sat Oct 17, 2009 5:20 pm
Post subject: Re: how to use a 1TB disk? [Login to view extended thread Info.]
Imported from groups: per prev. post (more info?)

This message is not archived
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Bluetooth headsets recommendation - Hi, I just got a new cell phone at work, with bluetooth. I would like to buy a bluetooth headset to use with the cell....

Is there a tutorial how to ? - Is there a tutorial how to set up Linux server ?Including mirroring? What Linux distribution would you recommend? Thank...

Can't detect disk - need driver (Western Digital disk, RHE.. - I'm loading RHEL 4.1 WS from CD, and it says it can't find a hard disk. The box is an HP dx5150 Microtower PC AMD..

NSLU2 wont boot with 2nd Disk connected to Disk 2 port - E.. - Hi All My slug has been happily running Etch RC2 for a couple of weeks now. Im using a Datawrite 8Gb USB flash stick..

[gentoo-user] LVM - Removing a Bad Disk w/o a new disk - Current situation is that I have a bad disk /dev/sdb1 in an existing lvm partition. (sda1/sda4/sdb1) I would like to..

locking sectors of raw disk (raw read-write test of mounte.. - I'd like to make read-write test of the raw disk, and disk has mounted partitions. Is it possible to lock range of..
       Soft32 Home -> Linux -> Hardware All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
  Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]