CRC data failed?

2011-01-05 Thread Francisco Reyes
In the screen of the VM where I am running dragonfly, the console in this 
case, there is an error about CRC data failed.


What is that about?


Re: CRC data failed?

2011-01-05 Thread Francisco Reyes

Matthew Dillon writes:


Well, when it's on a VM it usually means a crash occured and the VM
was lying the operating system when the OS told it to flush its disk
caches.  What VM were you running it on?


VMWare workstation.


Snapshots maintenance

2011-01-04 Thread Francisco Reyes

How does one adjust the number of snapshots for hammer to keep?

In the man page it says:
HAMMER version 3+
The configuration file is saved in file system meta-data

The format of the configuration file is:
snapshots  period retention-time [any]

What ist he name of the configuration file?
.snapshots.period ? That files does not seem human readable/editable.

Also the man page has: see hammer config.
Is that another section in the man page or another man page? Tried man 5 
hammer and searchign for hammer config in the main man page.


To delete a snapshot do I just delete the link and prune?
Example
I deleted a few links from /var/hammer/root and then did
hammer prune /var/hammer/root

Got 
TID 000106239300 - 0001062e2490

TID 000104c82520 - 000106239300
TID 000104a207b0 - 000104c82520
TID 0001043d8dd0 - 000104a207b0
TID 0001040614a0 - 0001043d8dd0
TID 000103616010 - 0001040614a0
TID 0001028fb580 - 000103616010
TID 0001028d5dc0 - 0001028fb580
TID 0001020f72d0 - 0001028d5dc0
TID 0001 - 0001020f72d0
Prune //: 10 snapshots
Prune //: objspace 8000: 7fff: pfs_id 0
Prune //: prune_min is 0d/00:00:00
Prune // failed: Input/output error  Error?
Pruned 0/0 records (0 directory entries) and 0 bytes


Don't see any difference in df. When/how is the space regained?
Had a lot of extra data so now that I cleaned things up I want to delete the 
snapshots with the extra data to get the space back.


Re: Snapshots maintenance

2011-01-04 Thread Francisco Reyes

Siju George writes:


 snaprm path ...


Got an error:
hammer snaprm snap-20110101-0301
Warning: hammer snaprm 0x000104a207b0: meta-data not found

The link was deleted anyway.


after pruning you need to reblock to gain space


Tried
hammer reblock /

Got

reblock start 8000: free level 0
Reblock / failed: Input/output error
Reblocked:
   0/0 btree nodes
   0/0 data elements
   0/0 data bytes


Re: Can't connect to ssh

2011-01-02 Thread Francisco Reyes

Chris Turner writes:


Assuming you have access to the VM console (sounds like) - try


It was some sort of VMware issue. I switched from Bridge to a network that 
was in the exact same subnet.


I just wasn't sure if it was vmware or Dragonfly (first production 
Dragonfly install); once I got replies about no firewalls in Dfly.. all 
that was left was VMware.


Thanks to all who replied.


Re: System doesnt shutdown

2011-01-02 Thread Francisco Reyes

Dragon Fly writes:

I can't shutdown the system from kde control panel or by shutdown -p now. 
The system halts but it wont shut down.


New install?
Did it used to work?

If a new install of Dfly, have you had any other OS previouly installed that 
honored shutdown of the hardware?


Although not with Dragonfly (newbie Dragonfly user...) once in while I have 
bumped into hardware that would have issues trying to turn the power off 
(have seen it with FreeBSD and Centos).


Re: Can't connect to ssh

2011-01-01 Thread Francisco Reyes

Lord Youkai writes:


It might be a VM specific configuration issue. VirtualBox, for instance,
runs in a NAT setup by default for any VM. You must change the
configuration to something like bridged.


It is already set to bridged. Will look into VMware then if there isn't a 
built-in firewall or anything like it.


What has me puzzled is that I have not changed the VMware config for the VM 
and it worked until the crash.


Re: Info on clustering and HAMMER

2010-12-30 Thread Francisco Reyes

Tonix (Antonio Nati) writes:

I'm monitoring dragonfly since a lot of years, because I'm waiting for a 
full-clustered OS (I worked deeply with OpenVMS), but I don't see any 

...

Can anyone point me on the right direction?


New user myself. I believe DragonFly doesn't have clustering yet.
See
http://www.dragonflybsd.org/docs/developer/hammerwishlist/

At the bottom
* Clustering

Also in that same page at the bottom there is a link to ongoing work which 
points to clustering as a goal.


I believe right now Hammer is able to replicate to a second machine in a 
master slave mode. However the only docs I have seen for data replication is
http://www.dragonflybsd.org/docs/how_to_implement_hammer_pseudo_file_system_ 
_40___pfs___41___slave_mirroring_from_pfs_master/


Hopefully, others can add more info.


Can't connect to ssh

2010-12-30 Thread Francisco Reyes

I have a Dragonfly machine I setup a few days ago as a backup machine.
I had it working for several days and I was able to ssh to the machine. The 
machine crashed because of not enough nbuffers, which after searching 
archives it was just a matter of running out of memory. It is a VM so I just 
increased memory from 512MB to 1024MB.


After the machine came back up I have been unable to ssh, or ping for that 
matter, the machine.


The VM can connect normally to other machines and VMs in the subnet but I 
can not ping or ssh to the VM. I am able to telnet to port 22 on the 
IP it is listening on, 192.168.1.9. Sockstat -4 shows ssh listening in all 
ports.


Is there a firewall by default in Dragonfly?
Nothing has changed in the VM configuration and it was working until the 
nbuffer crash so I am stumped; other than increasing memory nothing has 
changed since the crash.


Any suggestions?


How to tell where/how space is used?

2010-12-29 Thread Francisco Reyes

New to Dragonfly and trying to use it as a backup machine.

FilesystemSize   Used  Avail Capacity  Mounted 
on

ROOT   53G  11G42G21%   /
devfs 1.0K 1.0K 0B   100%   /dev
/dev/serno/0001.s1a   984M  53M   853M 6%   /boot
/pfs/@@-1:153G  11G42G21%   /var
/pfs/@@-1:253G  11G42G21%   /tmp
/pfs/@@-1:353G  11G42G21%   /usr
/pfs/@@-1:453G  11G42G21%   /home
/pfs/@@-1:553G  11G42G21%   /usr/obj
/pfs/@@-1:653G  11G42G21%   /var/crash
/pfs/@@-1:753G  11G42G21%   /var/tmp

So the OS sees 11G in use.


cd /
du -hd 1


38M./sbin
 0B./dev
 0B./mnt
1.5K./root
561M./usr
12M./bin
38K./proc
2.0K./tmp
9.4M./etc
53M./boot
 0B./pfs
3.9G./HFH
34M./var
1.0K./home
4.6G.

Du is only seeing 4.6. Where is the rest? Used by snapshots? Is there a way 
to see the space in use because of snapthos?


Re: How to tell where/how space is used?

2010-12-29 Thread Francisco Reyes

Pierre Abbat writes:

I think it's a combination of snapshots, directories, and tree structures. I 


Is there a way to see that breakdown?