From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Jonas Amoson" To: <9fans@9fans.net> Date: Fri, 19 Feb 2010 04:46:42 -0800 Message-ID: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_43C4_01CAB11E.880B2F10" Subject: [9fans] How to mount a P9 partition? Topicbox-Message-UUID: d6e561ea-ead5-11e9-9d60-3106f5b1d025 This is a multi-part message in MIME format. ------=_NextPart_000_43C4_01CAB11E.880B2F10 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hello! I am trying to access files that I have on a harddrive on which the Plan 9 installation refuses to boot. I am now booting from a new harddisk (sdC0) and would like to mount the file system of the problematic disk (now sdD0) in a directory (say /n/olddisk). I have succeeded to mount CD:s (sdD1) by starting 9660srv and mounting it from /srv: 9660srv -f /dev/sdD1/data mount /srv/9660 /n/cdrom My guess is that I have to start a file server in a similar fashion, and it does not complain when I write: fossil/fossil -f /dev/sdD0/fossil I was expecting some new entry named /srv/fossil that I could mount in a directory, but that does not seem to how it works. Running "ls /dev/sd*" gives the following: /dev/sdC0/9fat /dev/sdC0/ctl /dev/sdC0/data /dev/sdC0/fossil /dev/sdC0/nvram /dev/sdC0/plan9 /dev/sdC0/raw /dev/sdC0/swap /dev/sdD0/9fat /dev/sdD0/ctl /dev/sdD0/data /dev/sdD0/fossil /dev/sdD0/nvram /dev/sdD0/plan9 /dev/sdD0/raw /dev/sdD0/swap /dev/sdD1/ctl /dev/sdD1/raw /dev/sdctl

_______________________________________________________________
SprayAffinity.se - Tr�ffa bara personer som passar dig!
------=_NextPart_000_43C4_01CAB11E.880B2F10 Content-Type: text/html Content-Transfer-Encoding: 7bit

Hello!

I am trying to access files that I have on a harddrive
on which the Plan 9 installation refuses to boot. I am
now booting from a new harddisk (sdC0) and would like
to mount the file system of the problematic disk (now
sdD0) in a directory (say /n/olddisk). I have succeeded
to mount CD:s (sdD1) by starting  9660srv and mounting
it from /srv:

9660srv -f /dev/sdD1/data
mount /srv/9660 /n/cdrom

My guess is that I have to start a file server in a similar
fashion, and it does not complain when I write:

fossil/fossil -f /dev/sdD0/fossil

I was expecting some new entry named /srv/fossil that I
could mount in a directory, but that does not seem to
how it works. Running "ls /dev/sd*" gives the following:

/dev/sdC0/9fat
/dev/sdC0/ctl
/dev/sdC0/data
/dev/sdC0/fossil
/dev/sdC0/nvram
/dev/sdC0/plan9
/dev/sdC0/raw
/dev/sdC0/swap
/dev/sdD0/9fat
/dev/sdD0/ctl
/dev/sdD0/data
/dev/sdD0/fossil
/dev/sdD0/nvram
/dev/sdD0/plan9
/dev/sdD0/raw
/dev/sdD0/swap
/dev/sdD1/ctl
/dev/sdD1/raw
/dev/sdctl


_______________________________________________________________
SprayAffinity.se - Tr�ffa bara personer som passar dig!
------=_NextPart_000_43C4_01CAB11E.880B2F10-- From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Fri, 19 Feb 2010 12:48:35 -0200 Message-ID: From: Iruata Souza To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] How to mount a P9 partition? Topicbox-Message-UUID: d6eba42e-ead5-11e9-9d60-3106f5b1d025 fossil/fossil -f /dev/sdD0/fossil -c 'srv fossil' this should post /srv/fossil as you want. then you can proceed to mounting as you did with the cd. On 2/19/10, Jonas Amoson wrote: > Hello! > > I am trying to access files that I have on a harddrive > on which the Plan 9 installation refuses to boot. I am > now booting from a new harddisk (sdC0) and would like > to mount the file system of the problematic disk (now > sdD0) in a directory (say /n/olddisk). I have succeeded > to mount CD:s (sdD1) by starting 9660srv and mounting > it from /srv: > > 9660srv -f /dev/sdD1/data > mount /srv/9660 /n/cdrom > > My guess is that I have to start a file server in a similar > fashion, and it does not complain when I write: > > fossil/fossil -f /dev/sdD0/fossil > > I was expecting some new entry named /srv/fossil that I > could mount in a directory, but that does not seem to > how it works. Running "ls /dev/sd*" gives the following: > > /dev/sdC0/9fat > /dev/sdC0/ctl > /dev/sdC0/data > /dev/sdC0/fossil > /dev/sdC0/nvram > /dev/sdC0/plan9 > /dev/sdC0/raw > /dev/sdC0/swap > /dev/sdD0/9fat > /dev/sdD0/ctl > /dev/sdD0/data > /dev/sdD0/fossil > /dev/sdD0/nvram > /dev/sdD0/plan9 > /dev/sdD0/raw > /dev/sdD0/swap > /dev/sdD1/ctl > /dev/sdD1/raw > /dev/sdctl > > > > >

style=3D"font-size:13.5px">______________________________________________= _________________
style=3D"font-family: Tahoma, sans-serif; font-size: 12px; color: #00f" > href=3D"http://spray.matchaffinity.se/?mtcmk=3D614114">SprayAffin= ity.se > - Tr=C3=A4ffa bara personer som passar dig!
From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Jonas Amoson" To: <9fans@9fans.net> Date: Fri, 19 Feb 2010 08:55:10 -0800 Message-ID: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_5DD5_01CAB141.3DDB4010" Subject: Re: [9fans] How to mount a P9 partition? Topicbox-Message-UUID: d6f12cf0-ead5-11e9-9d60-3106f5b1d025 This is a multi-part message in MIME format. ------=_NextPart_000_5DD5_01CAB141.3DDB4010 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit > fossil/fossil -f /dev/sdD0/fossil -c 'srv fossil' Thanks for the advice! It complained about security, and have yet to learn how it works, but adding the option -A after 'srv' made it happier. So what I wrote was: fossil/fossil -f /dev/sdD0/fossil -c 'srv -A fossil' mount /srv/fossil /n/olddisk This seemed to work out very fine, but I soon relised that the content of /n/olddisk now was the filesystem on sdC0, instead of sdD0 as one might have expected? /Jonas <-----Ursprungligt Meddelande-----> From: Iruata Souza [iru.muzgo@gmail.com] Sent: 19/2/2010 3:48:35 PM To: 9fans@9fans.net Subject: Re: [9fans] How to mount a P9 partition? fossil/fossil -f /dev/sdD0/fossil -c 'srv fossil' this should post /srv/fossil as you want. then you can proceed to mounting as you did with the cd. On 2/19/10, Jonas Amoson wrote: > Hello! > > I am trying to access files that I have on a harddrive > on which the Plan 9 installation refuses to boot. I am > now booting from a new harddisk (sdC0) and would like > to mount the file system of the problematic disk (now > sdD0) in a directory (say /n/olddisk). I have succeeded > to mount CD:s (sdD1) by starting 9660srv and mounting > it from /srv: > > 9660srv -f /dev/sdD1/data > mount /srv/9660 /n/cdrom > > My guess is that I have to start a file server in a similar > fashion, and it does not complain when I write: > > fossil/fossil -f /dev/sdD0/fossil > > I was expecting some new entry named /srv/fossil that I > could mount in a directory, but that does not seem to > how it works. Running "ls /dev/sd*" gives the following: > > /dev/sdC0/9fat > /dev/sdC0/ctl > /dev/sdC0/data > /dev/sdC0/fossil > /dev/sdC0/nvram > /dev/sdC0/plan9 > /dev/sdC0/raw > /dev/sdC0/swap > /dev/sdD0/9fat > /dev/sdD0/ctl > /dev/sdD0/data > /dev/sdD0/fossil > /dev/sdD0/nvram > /dev/sdD0/plan9 > /dev/sdD0/raw > /dev/sdD0/swap > /dev/sdD1/ctl > /dev/sdD1/raw > /dev/sdctl >

_______________________________________________________________
SprayAffinity.se - Tr�ffa bara personer som passar dig!
------=_NextPart_000_5DD5_01CAB141.3DDB4010 Content-Type: text/html Content-Transfer-Encoding: 7bit > fossil/fossil -f /dev/sdD0/fossil -c 'srv fossil'


Thanks for the advice! It complained about security, and
have yet to learn how it works, but adding the option -A
after 'srv' made it happier. So what I wrote was:

fossil/fossil -f /dev/sdD0/fossil -c 'srv -A fossil'
mount /srv/fossil /n/olddisk

This seemed to work out very fine, but I soon relised that
the content of /n/olddisk now was the filesystem on sdC0,
instead of sdD0 as one might have expected?

/Jonas

<-----Ursprungligt Meddelande----->
  From: Iruata Souza [iru.muzgo@gmail.com]
Sent: 19/2/2010 3:48:35 PM
To: 9fans@9fans.net
Subject: Re: [9fans] How to mount a P9 partition? 

fossil/fossil -f /dev/sdD0/fossil -c 'srv fossil'

this should post /srv/fossil as you want. then you can proceed to
mounting as you did with the cd.

On 2/19/10, Jonas Amoson wrote:
> Hello!
>
> I am trying to access files that I have on a harddrive
> on which the Plan 9 installation refuses to boot. I am
> now booting from a new harddisk (sdC0) and would like
> to mount the file system of the problematic disk (now
> sdD0) in a directory (say /n/olddisk). I have succeeded
> to mount CD:s (sdD1) by starting 9660srv and mounting
> it from /srv:
>
> 9660srv -f /dev/sdD1/data
> mount /srv/9660 /n/cdrom
>
> My guess is that I have to start a file server in a similar
> fashion, and it does not complain when I write:
>
> fossil/fossil -f /dev/sdD0/fossil
>
> I was expecting some new entry named /srv/fossil that I
> could mount in a directory, but that does not seem to
> how it works. Running "ls /dev/sd*" gives the following:
>
> /dev/sdC0/9fat
> /dev/sdC0/ctl
> /dev/sdC0/data
> /dev/sdC0/fossil
> /dev/sdC0/nvram
> /dev/sdC0/plan9
> /dev/sdC0/raw
> /dev/sdC0/swap
> /dev/sdD0/9fat
> /dev/sdD0/ctl
> /dev/sdD0/data
> /dev/sdD0/fossil
> /dev/sdD0/nvram
> /dev/sdD0/plan9
> /dev/sdD0/raw
> /dev/sdD0/swap
> /dev/sdD1/ctl
> /dev/sdD1/raw
> /dev/sdctl

_______________________________________________________________
SprayAffinity.se - Tr�ffa bara personer som passar dig!
------=_NextPart_000_5DD5_01CAB141.3DDB4010-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Fri, 19 Feb 2010 12:01:57 -0500 To: 9fans@9fans.net Message-ID: <12b481e0c28428a5f257c112b5bf87b3@ladd.quanstro.net> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] How to mount a P9 partition? Topicbox-Message-UUID: d6fc8316-ead5-11e9-9d60-3106f5b1d025 > This seemed to work out very fine, but I soon relised that > the content of /n/olddisk now was the filesystem on sdC0, > instead of sdD0 as one might have expected? if these are actually sata drives, without a detailed motherboard manual or creative interpretation of the silkscreening on the motherboard in addition to some information on how bios is mapping sata ports, there's no telling where you're drive will end up. if you run in ahci mode, you can eliminate the bios mapping problem. then you'll be back to the previous situation where you only need to know how the ports on the motherboard are numbered. generally the motherboard manual will tell you which ports are which. that failing, sometimes you can see enough of the silkscreening to tell you which port is which. - erik From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Jonas Amoson" To: <9fans@9fans.net> Date: Fri, 19 Feb 2010 09:47:04 -0800 Message-ID: <5D46AF28C6CA4FCB8AC0D6B5352DC5B5@mail2world.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_2EF9_01CAB148.7E5EE3B0" Subject: Re: [9fans] How to mount a P9 partition? Topicbox-Message-UUID: d709d336-ead5-11e9-9d60-3106f5b1d025 This is a multi-part message in MIME format. ------=_NextPart_000_2EF9_01CAB148.7E5EE3B0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit I interpret you as: (1) the commands that I issued should work, at least on some machines. (2) the reason they don't work might depend on HW. The machine is an old Dell Pentium III and the disks are regular PATA-drives. I also tried to mount sdC0 with the same outcome. /jonas <-----Ursprungligt Meddelande-----> From: erik quanstrom [quanstro@quanstro.net] Sent: 19/2/2010 6:01:57 PM To: 9fans@9fans.net Subject: Re: [9fans] How to mount a P9 partition? > This seemed to work out very fine, but I soon relised that > the content of /n/olddisk now was the filesystem on sdC0, > instead of sdD0 as one might have expected? if these are actually sata drives, without a detailed motherboard manual or creative interpretation of the silkscreening on the motherboard in addition to some information on how bios is mapping sata ports, there's no telling where you're drive will end up. if you run in ahci mode, you can eliminate the bios mapping problem. then you'll be back to the previous situation where you only need to know how the ports on the motherboard are numbered. generally the motherboard manual will tell you which ports are which. that failing, sometimes you can see enough of the silkscreening to tell you which port is which. - erik .

_______________________________________________________________
SprayAffinity.se - Tr�ffa bara personer som passar dig!
------=_NextPart_000_2EF9_01CAB148.7E5EE3B0 Content-Type: text/html Content-Transfer-Encoding: 7bit I interpret you as:

(1) the commands that I issued should work, at least
on some machines.
(2) the reason they don't work might depend on HW.

The machine is an old Dell Pentium III and the disks
are regular PATA-drives. I also tried to mount sdC0
with the same outcome.

/jonas

<-----Ursprungligt Meddelande----->
  From: erik quanstrom [quanstro@quanstro.net]
Sent: 19/2/2010 6:01:57 PM
To: 9fans@9fans.net
Subject: Re: [9fans] How to mount a P9 partition? 

> This seemed to work out very fine, but I soon relised that
> the content of /n/olddisk now was the filesystem on sdC0,
> instead of sdD0 as one might have expected?

if these are actually sata drives, without a detailed
motherboard manual or creative interpretation of the
silkscreening on the motherboard in addition to some
information on how bios is mapping sata ports, there's
no telling where you're drive will end up.

if you run in ahci mode, you can eliminate the bios
mapping problem. then you'll be back to the previous
situation where you only need to know how the ports on
the motherboard are numbered.

generally the motherboard manual will tell you which
ports are which. that failing, sometimes you can see enough
of the silkscreening to tell you which port is which.

- erik

.

_______________________________________________________________
SprayAffinity.se - Tr�ffa bara personer som passar dig!
------=_NextPart_000_2EF9_01CAB148.7E5EE3B0--