Re: strange fsck results

2008-12-29 Thread Derek Ragona

At 06:08 AM 12/28/2008, re...@adeptscience.com wrote:

I am running VMware Server 2.0 but see the same results with
VMware Server 1.0.  The virtual machines are copies that I
made by transferring the vmware files for it from another server.
As far as I know it did not have any fsck problems on that machine
but I don't have access to it any more.  I have noticed that there
are a lot of failures (corrupted files) when moving VMware appliances with 
the

use of USB memory sticks so I do test them right on the memory
stick before I disconnect from the PC.

All the host OSs are Windows XP Professional using IDE ATA drives, current
hardware is an HP dx2450 AMD Phenom. but I saw the same errors on an Acer.

The files systems are:

# DeviceMountpoint  FStype  Options DumpPass#
/dev/ad0s1b noneswapsw  0   0
/dev/ad0s1a /   ufs rw  1   1
/dev/ad0s1e /usrufs rw  2   2
/dev/ad0s1d /varufs rw  2   2
/dev/acd0   /cdrom  cd9660  ro,noauto   0   0

Here is a bit from fsck of /var

hueysan_vm: {10} fsck /var
** /dev/ad0s1d (NO WRITE)
** Last Mounted on /var
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
UNREF FILE  I=190413  OWNER=root MODE=100644
SIZE=235 MTIME=Dec 27 12:23 2008
RECONNECT? no


CLEAR? no
...

I get about a dozen similar UNREF errors.


I am only worried about the errors if they might cause a problem
with the use of the virtual server as a development server.  I have
installed and have running apache, mysql, sendmail, samba,
rsync, etc and they all seem to work fine.  I am planning on
distributing copies of the virtual server to some others who are
working on a project with me so I really only need to be
fairly sure that no hidden gotchas are going to plague
our efforts.  Having the virtual server setup is a BIG plus
when collaborating with people who only have Windows
PCs, before I had a central FreeBSD server for testing
etc but that is so much slower then have a local development
server.  Being able to just send off a memory stick with the
VMserver and instructions is fantastic.


Thanks to all,
Charlie Reese


Charlie,

I have a number of FreeBSD servers 7.0 running under ESX server 3.5.  With 
FreeBSD 7, it has the background fsck.  I checked my servers and did see 
one  with an issue from fsck, but later the background fsck had it fixed.


The only issue I've had running the i386 version of FreeBSD, and other OS's 
under ESX is to be sure to use the vmware tools to copy the VM's once they 
are properly powered off.


You might want to try upgrading one of your VM FreeBSD servers to 7.0 and 
see if the issue persists.


-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: strange fsck results

2008-12-28 Thread reese
I am running VMware Server 2.0 but see the same results with 
VMware Server 1.0.  The virtual machines are copies that I 
made by transferring the vmware files for it from another server. 
As far as I know it did not have any fsck problems on that machine 
but I don't have access to it any more.  I have noticed that there 
are a lot of failures (corrupted files) when moving VMware appliances with the 
use of USB memory sticks so I do test them right on the memory 
stick before I disconnect from the PC.

All the host OSs are Windows XP Professional using IDE ATA drives, current
hardware is an HP dx2450 AMD Phenom. but I saw the same errors on an Acer.

The files systems are:

# DeviceMountpoint  FStype  Options DumpPass#
/dev/ad0s1b noneswapsw  0   0
/dev/ad0s1a /   ufs rw  1   1
/dev/ad0s1e /usrufs rw  2   2
/dev/ad0s1d /varufs rw  2   2
/dev/acd0   /cdrom  cd9660  ro,noauto   0   0

Here is a bit from fsck of /var

hueysan_vm: {10} fsck /var
** /dev/ad0s1d (NO WRITE)
** Last Mounted on /var
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
UNREF FILE  I=190413  OWNER=root MODE=100644
SIZE=235 MTIME=Dec 27 12:23 2008
RECONNECT? no


CLEAR? no
...

I get about a dozen similar UNREF errors.


I am only worried about the errors if they might cause a problem 
with the use of the virtual server as a development server.  I have 
installed and have running apache, mysql, sendmail, samba, 
rsync, etc and they all seem to work fine.  I am planning on 
distributing copies of the virtual server to some others who are 
working on a project with me so I really only need to be 
fairly sure that no hidden gotchas are going to plague 
our efforts.  Having the virtual server setup is a BIG plus 
when collaborating with people who only have Windows 
PCs, before I had a central FreeBSD server for testing 
etc but that is so much slower then have a local development 
server.  Being able to just send off a memory stick with the 
VMserver and instructions is fantastic.


Thanks to all,
Charlie Reese


On 27 Dec 2008 at 11:00, Derek Ragona wrote:

 At 12:37 PM 12/26/2008, re...@adeptscience.com wrote:
 I am running FreeBSD 6.3 as a VMware virtual server and am getting some
 strange results when I run fsck.  When I run it in multi-user mode I get
 quite a few UNREF FILE errors but when I switch to single user mode
 fsck does not find any errors.  Is this something I need to worry about
 and if it is how might I try to get fsck to repair them?
 
 
 TIA
 Charlie Reese
 
 You need to give a bit more information:  Are you running your VM under esx 
 server or workstation?  What is your filesystem layout under freebsd.  What 
 is the underlying server and disks you are running vmware on?
 
  -Derek
 
 -- 
 This message has been scanned for viruses and
 dangerous content by MailScanner, and is
 believed to be clean.
 
 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: strange fsck results

2008-12-27 Thread Derek Ragona

At 12:37 PM 12/26/2008, re...@adeptscience.com wrote:

I am running FreeBSD 6.3 as a VMware virtual server and am getting some
strange results when I run fsck.  When I run it in multi-user mode I get
quite a few UNREF FILE errors but when I switch to single user mode
fsck does not find any errors.  Is this something I need to worry about
and if it is how might I try to get fsck to repair them?


TIA
Charlie Reese


You need to give a bit more information:  Are you running your VM under esx 
server or workstation?  What is your filesystem layout under freebsd.  What 
is the underlying server and disks you are running vmware on?


-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


strange fsck results

2008-12-26 Thread reese
I am running FreeBSD 6.3 as a VMware virtual server and am getting some 
strange results when I run fsck.  When I run it in multi-user mode I get 
quite a few UNREF FILE errors but when I switch to single user mode 
fsck does not find any errors.  Is this something I need to worry about 
and if it is how might I try to get fsck to repair them?


TIA
Charlie Reese

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: strange fsck results

2008-12-26 Thread Lowell Gilbert
re...@adeptscience.com writes:

 I am running FreeBSD 6.3 as a VMware virtual server and am getting some 
 strange results when I run fsck.  When I run it in multi-user mode I get 
 quite a few UNREF FILE errors but when I switch to single user mode 
 fsck does not find any errors.  Is this something I need to worry about 
 and if it is how might I try to get fsck to repair them?

When you run fsck in multi-user mode, are you running it on a mounted
filesystem?  In that case, those errors would be perfectly normal, since
the kernel will typically have several file handles open on each
filesystem it mounts.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: strange fsck results

2008-12-26 Thread Tim Judd

re...@adeptscience.com wrote:
I am running FreeBSD 6.3 as a VMware virtual server and am getting some 
strange results when I run fsck.  When I run it in multi-user mode I get 
quite a few UNREF FILE errors but when I switch to single user mode 
fsck does not find any errors.  Is this something I need to worry about 
and if it is how might I try to get fsck to repair them?



TIA
Charlie Reese



It may be a issue that fsck preening won't fix.  A forceful repair might 
be required. see the fsck manpage.  A forceful repair may cause more 
damage than help, which is part of the reason the multiboot process just 
preens it.



Good luck.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org