Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Raw disk access through network
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
fernandoc1
n00b
n00b


Joined: 03 Jan 2010
Posts: 69

PostPosted: Mon Sep 19, 2011 2:42 pm    Post subject: Raw disk access through network Reply with quote

I wish to access a hard disk that is located in a remote machine in the same way that I access local hard disks in /dev/sd*.
My idea is boot a machine with a live cd, map it's hard disk to another machine and from there use cfdisk to create the partitions, format the partitions and etc, like if I had access to a link in my machine to the /dev/hda file in the other machine.
I don't know if it is useful, but I'm curious to this, because it would enable me to some cool things here, like install an OS remotely, through a virtual machine and other sorts of things like this.
Back to top
View user's profile Send private message
chiefbag
Guru
Guru


Joined: 01 Oct 2010
Posts: 542
Location: The Kingdom

PostPosted: Mon Sep 19, 2011 3:14 pm    Post subject: Reply with quote

Why don't you just boot with a livecd and ssh to the box, thats the easiest way of doing a remote install.
Back to top
View user's profile Send private message
xming
Guru
Guru


Joined: 02 Jul 2002
Posts: 441

PostPosted: Mon Sep 19, 2011 4:56 pm    Post subject: Reply with quote

You should look into AoE.
_________________
http://wojia.be
Back to top
View user's profile Send private message
fernandoc1
n00b
n00b


Joined: 03 Jan 2010
Posts: 69

PostPosted: Sun Sep 25, 2011 5:06 pm    Post subject: Reply with quote

chiefbag wrote:
Why don't you just boot with a livecd and ssh to the box, thats the easiest way of doing a remote install.

I wanna try something more complicated in order to know a little more about thing that I haven't tried yet.
Back to top
View user's profile Send private message
aztech
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jul 2002
Posts: 130
Location: Stenungsund, Sweden

PostPosted: Tue Sep 27, 2011 9:09 am    Post subject: Reply with quote

This is easy to do if your remote machine can serve you iSCSI
and if you have an iSCSI initiator on the liveCD.

edit: http://en.gentoo-wiki.com/wiki/ISCSI
Back to top
View user's profile Send private message
fernandoc1
n00b
n00b


Joined: 03 Jan 2010
Posts: 69

PostPosted: Tue Sep 27, 2011 1:06 pm    Post subject: Reply with quote

Is it possible to create a link in the other machine that redirects all read/write commands to the other machine?
Back to top
View user's profile Send private message
aztech
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jul 2002
Posts: 130
Location: Stenungsund, Sweden

PostPosted: Tue Sep 27, 2011 1:31 pm    Post subject: Reply with quote

fernandoc1 wrote:
Is it possible to create a link in the other machine that redirects all read/write commands to the other machine?


Can you explain?



Basicly what iSCSI does ...

Target: a NAS/SAN/Server/Computer that can share a folder, or a whole harddrive vie ethernet as a raw blockdevice to a client (initiator)

Initiator: a daemon running on the clientmachine, to "initiate" a connection to a iSCSI target.
The initiator is using the target by sending lowlevel SCSI/ATA commands över ethernet, to access the shared device/folder.
Back to top
View user's profile Send private message
fernandoc1
n00b
n00b


Joined: 03 Jan 2010
Posts: 69

PostPosted: Fri Oct 28, 2011 8:44 pm    Post subject: Reply with quote

Hehehehe, many thanks for your support.
I have done what I was thinking.

Here is a document of what I've done to make things work, using Ubuntu.

https://docs.google.com/document/pub?id=1GlBEpdgGX39nBMmUt4iendIrQOLP9KSkNbNfxtburoo
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot 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