What's the easier way to make the local HDD available?

View: New views
2 Messages — Rating Filter:   Alert me  

What's the easier way to make the local HDD available?

by TimShelley :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hi all,

What's the easiest way to allow all clients access to their local HDD's? I guess an issue may be the different HDD's that are available so there is no one magic entry to can make to the fstab, or is there?

At the moment I've created a shortcut (to a script) on the client to mount the local HDD, but this would have to be changed per client depending on the name of the HDD under /dev?

Thanks in advance.

Regards,

Tim.


Windows Live Messenger: Celebrate 10 amazing years with free winks and emoticons. Get Them Now
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Drbl-user mailing list
Drbl-user@...
https://lists.sourceforge.net/lists/listinfo/drbl-user

Re: What's the easier way to make the local HDD available?

by Jazz Yao-Tsung Wang :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

If the client HDD is the same device name, said /dev/sdb1
then you can add a file /opt/drbl/conf/client-append-fstab

check the example at /opt/drbl/conf/client-append-fstab.example
and reference http://drbl.sourceforge.net/one4all/
by searching keryword client-append-fstab

If the client HDD is not the same device, here is the script
and setting that I used in some special case:

# wget http://trac.nchc.org.tw/grid/export/99/drbl-hadoop-0.1/drbl-hadoop
# wget http://trac.nchc.org.tw/grid/export/99/drbl-hadoop-0.1/drbl-hadoop-mount-disk

Edit drbl-hadoop with the device name and mount point in most common

Ex.
DISK=/dev/sda1                  ### Device Name
MOUNT=/var/lib/hadoop       ### Mount Point

# /opt/drbl/sbin/drbl-cp-host drbl-hadoop /etc/default/
# /opt/drbl/sbin/drbl-cp-host drbl-hadoop-mount-disk /etc/init.d/
# /opt/drbl/sbin/drbl-client-service drbl-hadoop-mount-disk on

SSH into the DRBL client with different configure
Edit /etc/default/drbl-hadoop

Ex.
DISK=/dev/sda2
MOUNT=/var/lib/hadoop

My 2 cents.

Jazz

On Wed, Aug 12, 2009 at 6:46 PM, Tim Shelley<tim_j_shelley@...> wrote:

> Hi all,
>
> What's the easiest way to allow all clients access to their local HDD's? I
> guess an issue may be the different HDD's that are available so there is no
> one magic entry to can make to the fstab, or is there?
>
> At the moment I've created a shortcut (to a script) on the client to mount
> the local HDD, but this would have to be changed per client depending on the
> name of the HDD under /dev?
>
> Thanks in advance.
>
> Regards,
>
> Tim.
>
> ________________________________
> Windows Live Messenger: Celebrate 10 amazing years with free winks and
> emoticons. Get Them Now
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Drbl-user mailing list
> Drbl-user@...
> https://lists.sourceforge.net/lists/listinfo/drbl-user
>
>

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Drbl-user mailing list
Drbl-user@...
https://lists.sourceforge.net/lists/listinfo/drbl-user