Re: bsd lost partition recovery
Hi, On Sun, 17 Feb 2013 12:56:54 +0330 takCoder tak.offic...@gmail.com wrote: *here's the question:* how to restore lost data of a formatted bsd partition?! restore it from a backup? *and here's what has happened to me:* i was trying to install windows xp sp2 on a HD on my system to move it to another hardware after that for some reasons, but i had my main HD attached to may system as well.. all of a sudden i made the worst misktake ever and formatted my main HD's bsd partition instead!!! If you want to read the data from that partition it will depend very much on how far the Windows installation really went. Erich ___ 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: Ports Packages [Stable] in sync
On 16 Feb 2013, at 16:56, Jeff Tipton jef...@mail.com wrote: Hi, I upgraded 9.0 - 9.1 on my netbook and only then found out that there are no packages for 9.1-RELEASE. On my desktops, I keep ports and packages at the RELEASE versions, so I only have to compile when I need non-default options or when there are no packages. Would it be possible to get the ports snapshot that was used to compile the 9-STABLE packages? I think I could use subversion but then I need to know the revision number of that snapshot. What do you suggest? Thanks, Jeff Hi Jeff, I think you might be confused here. It is my understanding that there are ports for: - HEAD - x.y-RELEASE I don't think you're going to be able to get a snapshot from 9-STABLE, because -STABLE is a continuing work. What version do you consider to be 9-STABLE ? Every time there's a new commit you get a new 9-STABLE. ___ 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: bsd lost partition recovery
Hi, On Sun, 17 Feb 2013 14:50:57 +0330 takCoder tak.offic...@gmail.com wrote: Thank you for your reply.. you are welcome. On Sun, Feb 17, 2013 at 2:31 PM, Erich Dollansky erichsfreebsdl...@alogt.com wrote: On Sun, 17 Feb 2013 12:56:54 +0330 takCoder tak.offic...@gmail.com wrote: *here's the question:* how to restore lost data of a formatted bsd partition?! restore it from a backup? no, from the formatted hard drive.. if only i had a backup.. You did it the hard way. *and here's what has happened to me:* i was trying to install windows xp sp2 on a HD on my system to move it to another hardware after that for some reasons, but i had my main HD attached to may system as well.. all of a sudden i made the worst misktake ever and formatted my main HD's bsd partition instead!!! If you want to read the data from that partition it will depend very much on how far the Windows installation really went. i just deleted the partition and then found out what i just did, then i stopped the installation process and start looking ways for recovery.. till now, somewhere in the web i saw that R-Studio supports ufs recovery but it's a windows application.. i'm preparing a system for checking it right now.. Just try it. Erich ___ 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
choosing ACLs
man tunefs mentions two types of ACLs: POSIX.1e and NFSv4. Am I correct in assuming an unqualified ACL in general usage defaults to the former, not the latter? Respectfully, Robert Huff ___ 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: bsd lost partition recovery
2013-02-17 10:26, takCoder skrev: hi everyone, maybe this question is somehow off-topic but now i'm in an urgent need of any recommendations.. *here's the question:* how to restore lost data of a formatted bsd partition?! *and here's what has happened to me:* i was trying to install windows xp sp2 on a HD on my system to move it to another hardware after that for some reasons, but i had my main HD attached to may system as well.. all of a sudden i made the worst misktake ever and formatted my main HD's bsd partition instead!!! would someone please tell me how can i restore it?? i'm really in need of my data there and have no idea right now.. Best Regards, t.a.k P.S. i'm asking this question here cause i thought it may need a special tool to recover freebsd formatted lost data.. i had no time for googling it till now..i'm going to do that now.. sorry for taking your time.. ___ 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 Sorry to inform you but I think you have lost your partition! If you go to the archives and look for My freebsd partition changed by Windows chkdsk Nov 1 2012 You'll see that I have had the same problem and the partition was not recoverable in any way. /Leslie ___ 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: Ports Packages [Stable] in sync
On 02/17/2013 13:13, Damien Fleuriot wrote: On 16 Feb 2013, at 16:56, Jeff Tipton jef...@mail.com wrote: Hi, I upgraded 9.0 - 9.1 on my netbook and only then found out that there are no packages for 9.1-RELEASE. On my desktops, I keep ports and packages at the RELEASE versions, so I only have to compile when I need non-default options or when there are no packages. Would it be possible to get the ports snapshot that was used to compile the 9-STABLE packages? I think I could use subversion but then I need to know the revision number of that snapshot. What do you suggest? Thanks, Jeff Hi Jeff, I think you might be confused here. It is my understanding that there are ports for: - HEAD - x.y-RELEASE I don't think you're going to be able to get a snapshot from 9-STABLE, because -STABLE is a continuing work. What version do you consider to be 9-STABLE ? Every time there's a new commit you get a new 9-STABLE. ___ 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 Thank you, Damien, for the reply. AFAIK, STABLE gets updated every 2 weeks but not every day, and it seems to be that because of the intrusion, it has not been updated for long. The versions of the ports that come with the 9.1-RELEASE are even slightly newer than those of 9-STABLE packages. I think if I don't get the revision number from which the 9-STABLE was updated last time I'll use the ports tree that comes with 9.1-RELEASE. I hope it won't cause much version incompatibilities. ___ 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
Openfire weird start up problem
I am having trouble with openfire I found after starting I could not connect to the server Getting error WARNING: no shebang line in COPYRIGHT Here is the test sequence that shows the error: # service openfire start Starting openfire #service openfire status openfire is running as pid 9205 NOTE At this point it appears that openfire starts BUT immediately afterwards it must stop because a repeat status call gives: #service openfire status /usr/local/etc/rc.d/openfire: WARNING no shebang line in COPYRIGHT openfire not running? (check /var/run/openfire.pid Many thanks for any guidance I have reported problem to maintainer but so far no response. Thanks David -- David Southwell ARPS AFIAP Photographic Arts Trained experienced competition judge, mentor, trainer, lecturer, Advanced digital techniques, international project photography ___ 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: bsd lost partition recovery
On Sun, 17 Feb 2013 18:30:28 +0700, Erich Dollansky wrote: On Sun, Feb 17, 2013 at 2:31 PM, Erich Dollansky erichsfreebsdl...@alogt.com wrote: On Sun, 17 Feb 2013 12:56:54 +0330 takCoder tak.offic...@gmail.com wrote: *here's the question:* how to restore lost data of a formatted bsd partition?! restore it from a backup? no, from the formatted hard drive.. if only i had a backup.. You did it the hard way. *and here's what has happened to me:* i was trying to install windows xp sp2 on a HD on my system to move it to another hardware after that for some reasons, but i had my main HD attached to may system as well.. all of a sudden i made the worst misktake ever and formatted my main HD's bsd partition instead!!! If you want to read the data from that partition it will depend very much on how far the Windows installation really went. i just deleted the partition and then found out what i just did, then i stopped the installation process and start looking ways for recovery.. till now, somewhere in the web i saw that R-Studio supports ufs recovery but it's a windows application.. i'm preparing a system for checking it right now.. Just try it. You can try R-Studio Emergency, a live CD, to _check_ if there is anything to restore. This step is for free, as you don't need to buy it. Also there's no need for installing anything on some Windows. However, there are tools that can be used on FreeBSD (if you can put the disk into another system). Note: Do not write to that disk! If possible, make a dd image of the disk and work with the image, do not _alter_ the original disk in any way. Every little wrong step can decrease your chances for recovery. I came to this list many years ago with a recovery problem, and have learned a lot since that time (as I also had no backup and still got my files back). So I'll try to give some suggestions. But remember that it depends on your _specific_ setting on what will possibly work and what won't. As it has been questioned already, formatting can have several meanings, especially in Windows land. The more actual content of the disk got overwritten, the worse it gets. So if you've stopped the installation at some point, it's still possible that your data can be located. Allow me to introduce a few tools to you (my meanwhile famous list of data recovery tools which I've posted some times on this list): A worst-case tool to recover data (not file names, but file content) is testdisk; in ports: sysutils/testdisk. It's also on some diagnostics and recovery CDs like UBCD. You can also try this: fetch -rR device Also recoverdisk could be useful. The ports collection contains further programs that might be worth investigating; just in case they haven't been mentioned yet: ddrescue dd_rescue - use this to make an image of the disk! magicrescue testdisk- restores content recoverjpeg foremost photorec Then also ffs2recov scan_ffs should be mentioned. It's possible that the disk contains some information to restore the initial UFS file systems. And finally, the cure to everything is found in The Sleuth Kit: fls dls ils autopsy In worst case. Just in worst case. Keep in mind: Read the manpages before using the programs. It's very important to do so. You need to know what you're dealing with, or you'll probably fail. There is no magical tetroplyrodon to click ^Z and get everything back. :-) Proprietary (and expensive) tools like R-Studio or UFS Explorer can still be considered worth a try. Their trial versions are for free. UFS Explorer even works using wine (I've tried it). If you have one or two spare disks, initialize them in FreeBSD. Make a dd image of your disk to the 1st disk. Use recovery tools to write their results on the 2nd disk. Disks are cheap, at least your data is worth more than two disks. And you're going to need the disks anyway. :-) I wish you best luck to get your data back. I can fully understand how frustrating such a situation can be. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: PostgreSQL 9.2: database replication on demand - easy way (Bucardo in ports not available)
On 02/16/2013 13:26, O. Hartmann wrote: Dear Sirs. I send my question to this list in the hope someone has the same problems and already found a solution. I will start explaining the background and my difficulties with recent solutions. We/I have a FreeBSD 10 box running a PostgreSQL 9.2 server containing literature references via RefDB, some sort of bugtracking via Bugzilla, several astronomical databases of the IAU (minor planet objects) and others. Those databases are kept and maintained on one single box at the department. Since a lot of the data is needed in my home office or at a lab with non-permanent internet connection, I desperately need to synchronize the databases kept on the master with some backup database systems acting as master/slave when they are online. The latter definition is fuzzy, since what I need is an automated synchronization of the real master with a sporadically upcoming slave at home or at field sites for my science where, as said, the internet connectivity isn't provided 24/7. I feel realy uncomfortable with the built-in streaming replication of PostgreSQL 9.2 since I never managed it to make a successful replication. As far as I understand, the streaming mechanism of PostgreSQL 9.X expects the slaves to be always online, to which the replication. I was said that Bucardo (http://bucardo.org/) would be the tool of choice, but FreeBSD ports seem not not have this tool. SLONY also is a way to complicated for my for just this task - or I'm to dumb to perform a solution that fits easily. Is someone out here who might have the same problems and already figured out how to solve this? I do not want to go into this crap pg_dump, since I tried this many times and it failed due to some issues I never figured out why in PostgreSQL 9.2. Sorry being unspecific here, it is a long time since I tried this frustrating task and it boiled always down to some confusing postgres/template1 issues when dumping the master and trying to update the slave. Even following the textbook's suggestions ended up in a mess. Well, I appreaciate some hints and concepts (working, not hypothetical could be's, those are floating enough around the FreeBSD related net). Thanks in advance and thanks for the patience, Oliver perhaps you could do WAL shipping .. ? ___ 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