No, no, no. You don't run fsck on slice2 (??????s2) of any disk because that defines the whole disk to Solaris and does NOT hold a filesystem.
You cannot currently mount c1t0d0s0 and c1t0d0s0. Take a look again at the vtoc for that disk (see my earlier post as to how to do that) and see whether either or both are filesystems. Quite often ??????s1 is defined as swap space. If both are indeed filesystems then fsck those slices:
Note that I have included the '-n' switch to check the filesystems without correcting anything first just to see how much damage, if any, there is. Don't use the '-y' switch at the outset because telling it to correct all errors might destroy the filesystem on the ground if damage is extensive. If errors are few simply run again without the '-n' and say 'y' to each question to correct the error(s).
On a production system I would expect there to be entries in /etc/vfstab to mount these filesystems at boot time?
I am getting the below mentioned error while trying to unistall a package from a 2.8 Solaris box. Please help..
pkgrm: ERROR: unable to determine current run-state
Removal of <PDMgr> failed (internal error).
No changes were made to the system. (1 Reply)
Hi,
I'm attempting to build a raid Z NAS using solaris, but I only have 4 sata ports on my MB, so I bought a Rosewill RC-211 PCIe controller (adds 2 sata II ports).
I'm new to solaris, but I understand that to add a new drive, you first run #devfsadm, which puts the files into /dev/dsk. I... (3 Replies)
hi folks, i have a snag, when i attempt shutdown of solaris 10 on a sunfire v240 it seems to pause for ages, and goes no further, im busy learning my way around the system so please be patient.
/etc(R)-bash-3.00$ init 6
/etc(R)-bash-3.00$ svc.startd: The system is coming down. Please wait.... (7 Replies)
Hi,
I am unable to login into my terminal hosting Solaris 10 and get the below error message
"Server refused to allocate pty
ld.so.1: sh: fatal: libc.so.1: open failed: No such file or directory "
Is there anyways i can get into my machine and what kind of changes are required to be... (7 Replies)
hi friends, i had this problem in a Solaris 10 server
when i inserted my thumbdrive, i can't find the device file containing usb.
what should i do ? (2 Replies)
I have inherited a solaris 10 server. I went to log into it the other day over the console connection, and after sucessfully entering the password, I was booted back to the login prompt with no errors visible.
If I enter an incorect password, the console displays 'incorrect password' and kicks... (8 Replies)
Hi,
All of our servers run Solaris (currently 10, but looking to upgrade to 11). In each of our offices we have a server configured as a Primary Domain Controller via Samba to provide naming services to our Windoze users. I would like to continue with that arrangement, but I would also like... (2 Replies)
HI
I am unable to add printer in solaris (architecture is SUN and OS is Solaris 10) as I try to print the file it gives following error
Failed to contact service for erp-cljCP2025: not-found
Need help
Regards (7 Replies)
Hi,
we have a sun sparc solaris 10 machine and recently there was a power failure and one of the server domain was down. So today morning i have powered up the domain and it returned me to ok prompt then i have booted the machine with disk from devalias, the system was up as normal and no error... (0 Replies)
Hello, I followed these instructions to create a Solaris 11 zone:
http://www.oracle.com/technetwork/articles/servers-storage-admin/o11-092-s11-zones-intro-524494.html
And I am unable to ping anything from the Local Zone except for the IP address of the global zone.
My global zone has an IP... (6 Replies)
Discussion started by: unblockable
6 Replies
LEARN ABOUT OPENDARWIN
quotacheck
QUOTACHECK(8) BSD System Manager's Manual QUOTACHECK(8)NAME
quotacheck -- filesystem quota consistency checker
SYNOPSIS
quotacheck [-g] [-u] [-v] filesystem ...
quotacheck [-g] [-u] [-v] -a
DESCRIPTION
Quotacheck examines each filesystem, builds a table of current disk usage, and compares this table against that recorded in the disk quota
file for the filesystem. If any inconsistencies are detected, both the quota file and the current system copy of the incorrect quotas are
updated (the latter only occurs if an active filesystem is checked). By default both user and group quotas are checked.
Available options:
-a If the -a flag is supplied in place of any filesystem names, quotacheck will check all the read-write filesystems with an existing
mount option file at its root. The mount option file specifies the types of quotas that are to be checked.
-g Only group quotas are checked. The mount option file, .quota.ops.group, must exist at the root of the filesystem.
-u Only user quotas are checked. The mount option file, .quota.ops.user, must exist at the root of the filesystem.
-v quotacheck reports discrepancies between the calculated and recorded disk quotas.
Specifying both -g and -u is equivalent to the default. Parallel passes are run on the filesystems required, in an identical fashion to
fsck(8).
Normally quotacheck operates silently.
Quotacheck expects each filesystem being checked to have quota data files named .quota.user and/or .quota.group located at the filesystem
root. If a binary data file is not present, quotacheck will create it. The default filename and root location cannot be overridden.
Quotacheck is normally run at fsck time.
Quotacheck accesses the raw device in calculating the actual disk usage for each user. Thus, the filesystems checked should be quiescent
while quotacheck is running.
FILES
Each of the following quota files is located at the root of the mounted filesystem. The mount option files are empty files whose existence
indicates that quotas are to be enabled for that filesystem. The binary data files will be created by quotacheck, if they don't already
exist.
.quota.user data file containing user quotas
.quota.group data file containing group quotas
.quota.ops.user mount option file used to enable user quotas
.quota.ops.group mount option file used to enable group quotas
SEE ALSO quota(1), quotactl(2), edquota(8), fsck(8), quotaon(8), repquota(8)HISTORY
The quotacheck command appeared in 4.2BSD.
4.2 Berkeley Distribution October 17, 2002 4.2 Berkeley Distribution