Hi all,

Perhaps a bit daft but:
Somehow I have managed to exclude my swap partition from being mounted on my Raid0 array. I have no idea why it isn't in fstab but I can only assume I messed something up along the way while copying.

The swap partition is present as a slice within the virtual raid0 disk.
Can I safely mount this on a live system or is that a bad idea?

Thanks!

---- additional info ----

box# raidctl -p raid0
raid0: Parity status: clean

box# cat /etc/fstab
/dev/raid0a / ffs rw,softdep 1 1
/dev/raid0g /home ffs rw,softdep,nodev,nosuid 1 2
/dev/raid0e /tmp ffs rw,softdep,nodev,nosuid 1 2
/dev/raid0d /usr ffs rw,softdep,nodev 1 2
/dev/raid0f /var ffs rw,softdep,nodev 1 2

box# mount
/dev/raid0a on / type ffs (local, softdep)
/dev/raid0g on /home type ffs (local, nodev, nosuid, softdep)
/dev/raid0e on /tmp type ffs (local, nodev, nosuid, softdep)
/dev/raid0d on /usr type ffs (local, nodev, softdep)
/dev/raid0f on /var type ffs (local, nodev, softdep)

box# disklabel raid0
/dev/rraid0c:
type: RAID
disk: raid
label: fictitious
flags:
bytes/sector: 512
sectors/track: 128
tracks/cylinder: 8
sectors/cylinder: 1024
cylinders: 226893
total sectors: 232338816
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0

16 partitions:
#             size        offset  fstype [fsize bsize  cpg]
a: 1048576 0 4.2BSD 2048 16384 323 # Cyl 0 - 1023 b: 2097152 1048576 swap # Cyl 1024 - 3071 c: 232338816 0 unused 0 0 # Cyl 0 -226893* d: 10485760 3145728 4.2BSD 2048 16384 323 # Cyl 3072 - 13311 e: 4194304 13631488 4.2BSD 2048 16384 323 # Cyl 13312 - 17407 f: 167772160 17825792 4.2BSD 2048 16384 323 # Cyl 17408 -181247 g: 10485760 185597952 4.2BSD 2048 16384 323 # Cyl 181248 -191487 h: 36255104 196083712 4.2BSD 2048 16384 323 # Cyl 191488 -226893*

Reply via email to