![]() |
|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
![]() |
|
Thread Tools | Display Modes |
|
|||
![]()
You fstab specifies UFS (BSD filesytem) type while fdisk detects it as Linux Native.(ext2fs ?)
Code:
/dev/ad1s1 /maxtor ufs rw 2 Code:
/dev/ad0s3c /second ufs rw 2 2
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
||||
![]() Code:
bsdlabel /dev/ad0s3 # /dev/ad0s3: 8 partitions: # size offset fstype [fsize bsize bps/cpg] c: 133243110 0 unused 0 0 # "raw" part, don't edit d: 133243110 0 4.2BSD 2048 16384 28552 Code:
[root@server ~]# mount /dev/ad1s1 /maxtor/ [root@server ~]# mount /dev/ad0s1a on / (ufs, local) devfs on /dev (devfs, local) /dev/ad0s3c on /second (ufs, local, soft-updates) /dev/ad1s1 on /maxtor (ufs, local)
__________________
TANSTAAFL : "There Ain't No Such Thing As A Free Lunch" |
|
||||
![]()
if ad1s1 has an ext2/3 filesystem on it:
/dev/ad1s1 /maxtor ext2fs rw 0 0 but from your mount o/p it looks like maybe its formatted with ufs /dev/ad0s3d /second ufs rw 2 2 incidently in your case ad0s3c will work but as a rule don't use 'c' partition in fstab Last edited by ephemera; 10th May 2008 at 10:50 PM. |
|
||||
![]() Code:
tunefs -p ad1s1 tunefs: ACLs: (-a) disabled tunefs: MAC multilabel: (-l) disabled tunefs: soft updates: (-n) disabled tunefs: gjournal: (-J) disabled tunefs: maximum blocks per file in a cylinder group: (-e) 2048 tunefs: average file size: (-f) 16384 tunefs: average number of files in a directory: (-s) 64 tunefs: minimum percentage of free space: (-m) 8% tunefs: optimization preference: (-o) time tunefs: volume label: (-L) Code:
[root@server ~]# uptime 8:12AM up 2 mins, 1 user, load averages: 0.17, 0.23, 0.11 [root@server ~]# mount /dev/ad0s1a on / (ufs, local) devfs on /dev (devfs, local) [root@server ~]# cat /etc/fstab # Device Mountpoint FStype Options Dump Pass# /dev/ad0s2 none swap rw 0 0 /dev/ad0s1a / ufs rw 1 1 /dev/ad0s3d /second ufs rw 2 2 /dev/ad1s1 /maxtor ufs rw 2 2 /dev/cd0 /cdrom cd9660 ro,noauto 0 0 Is it possible to be this problem because i add second disk (ad1) and make second slice (ad0s3) after i finish installation ?? I mean when i make installation i create just ad0s1 (/ partition).When i had full working BSD I create and make file system for other slices ..... ![]()
__________________
TANSTAAFL : "There Ain't No Such Thing As A Free Lunch" |
|
||||
![]()
The half of problem is solved.
First problem was swap entry in fstab: Code:
/dev/ad0s2 none swap rw 0 0 Now I change rw to sw, but still swap is not active. Code:
root@server /etc]# mount /dev/ad0s1a on / (ufs, local) devfs on /dev (devfs, local) /dev/ad0s3d on /second (ufs, local, soft-updates) /dev/ad1s1 on /maxtor (ufs, local) [root@server /etc]# swapinfo Device 1K-blocks Used Avail Capacity [root@server /etc]# swapon /dev/ad0s2 [root@server /etc]# swapinfo Device 1K-blocks Used Avail Capacity /dev/ad0s2 1044224 0 1044224 0%
__________________
TANSTAAFL : "There Ain't No Such Thing As A Free Lunch" |
![]() |
Tags |
boot, filesystem, mount |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Boot problem. Geometry problem? | gulanito | FreeBSD Installation and Upgrading | 0 | 3rd July 2009 03:03 AM |
boot0cfg or grub and mount (HARDDISK PROBLEM) | disappearedng | FreeBSD General | 9 | 10th July 2008 06:26 PM |
FreeBSD boot problem | kdi | FreeBSD General | 2 | 25th May 2008 07:09 AM |
Installation cd boot problem | michaela | FreeBSD Installation and Upgrading | 1 | 20th May 2008 07:47 PM |
Boot abort with gmirror problem | lil_elvis2000 | FreeBSD General | 1 | 9th May 2008 08:06 PM |