Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Mar 2003 21:16:43 +0100
From:      "Arie J. Gerszt" <arie@gerszt.ch>
To:        <freebsd-isp@FreeBSD.ORG>
Subject:   2nd - file system help needed
Message-ID:  <FEEHKMHBPPGLAPHJCDIIAEOFCFAA.arie@gerszt.ch>

next in thread | raw e-mail | index | archive | help
Hi All

Thanks for inputs. I have another partition on a second disk, which is 1G,
and unused.
What is the standard procedure to move the whole / to this disk, so the
system keeps
bootable?

ad0 is the full disk (actually it is ad0s1a). I would like to move / (which
is mounted
to ad0s01a) to ad3. What must I do?

Any help very appreciated.

Arie

caramba# disklabel ad0
# /dev/ad0c:
type: ESDI
disk: ad0s1
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 3648
sectors/unit: 58621122
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0

8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  a:   204800        0    4.2BSD     1024  8192    16   # (Cyl.    0 - 12*)
  b:  1048576 11468800      swap                        # (Cyl.  713*- 779*)
  c: 58621122        0    unused        0     0         # (Cyl.    0 -
3648*)
  e: 11264000   204800    4.2BSD     1024  8192    16   # (Cyl.   12*- 713*)
  f:  9216000 12517376    4.2BSD     1024  8192    16   # (Cyl.  779*-
1352*)
  g: 36887746 21733376    4.2BSD     1024  8192    16   # (Cyl. 1352*-
3648*)
caramba# disklabel ad3
# /dev/ad3c:
type: ESDI
disk: ad3s1
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 31206
sectors/unit: 31456593
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0

8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  c: 31456593        0    unused        0     0         # (Cyl.    0 -
31206*)
  e:  4194304        0    4.2BSD     1024  8192    16   # (Cyl.    0 -
4161*)
  f: 12582912  4194304    4.2BSD     1024  8192    16   # (Cyl. 4161*-
16644*)
  g: 12582912 16777216    4.2BSD     1024  8192    16   # (Cyl. 16644*-
29127*)
  h:  2096465 29360128    4.2BSD     1024  8192    16   # (Cyl. 29127*-
31206*)

-----Ursprungliche Nachricht-----
Von: owner-freebsd-isp@FreeBSD.ORG
[mailto:owner-freebsd-isp@FreeBSD.ORG]Im Auftrag von Stephen Hilton
Gesendet: Dienstag, 25. Marz 2003 20:48
An: Arie J. Gerszt
Cc: freebsd-isp@FreeBSD.ORG
Betreff: Re: AW: file system help needed


On Tue, 25 Mar 2003 20:26:48 +0100
"Arie J. Gerszt" <arie@gerszt.ch> wrote:

> Hi List
>
> Thanks for pointers. I deleted /tmp and moved mostly of /sbin /bin to
> /usr/copy/(s)bin and created symbolic links instead. Probably not a
> very good solution, but it worked quickly.
>
> I also moved /modules/snd* to somewhere else.
>
> Any pitfalls?
>
> Regards and Thanks
> Arie

Arie,

Regarding deleting /tmp, did you just empty /tmp out, or remove
the whole directory?

You do need a tmp dir, so if you deleted it then create a sym
link to /var/tmp if you have a /var/tmp.

# ln -s /var/tmp /tmp

Regards,

Stephen Hilton
nospam@hiltonbsd.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FEEHKMHBPPGLAPHJCDIIAEOFCFAA.arie>