ZFS on Linux & mplayer
Hi,
I have a problem with the combination of zfsonlinux and mplayer.
Actually I'm not quite sure if one of them is the culprit, but I have some pointers.
Problem: When playing a movie (e.g. a mkv ~ 2GB or a vob ~ 6GB) every few minutes the the movie shortly stutters (picture & audio)
Observations:
1) This didn't happen with zfs-fuse which is supposedly slower than zfs on linux.
2) I can copy a vob file in under a minute to my home directory (ext4), hence read performance should be reasonable.
3) When playing the movie from my home dir, no stuttering occurs. Hence I'd rule out an mplayer or sound card issue.
Now I don't know what I can do about zfs on linux. Read performance seems to be ok and there seem to be no sound card issues. When I run bonnie or iozone, cpu usage stays below 20%, so that shouldn't cause an issue as well.
Any hints or tips on what I could look at next? Thanks!
Hi,
I have a problem with the combination of zfsonlinux and mplayer.
Actually I'm not quite sure if one of them is the culprit, but I have some pointers.
Problem: When playing a movie (e.g. a mkv ~ 2GB or a vob ~ 6GB) every few minutes the the movie shortly stutters (picture & audio)
Observations:
1) This didn't happen with zfs-fuse which is supposedly slower than zfs on linux.
2) I can copy a vob file in under a minute to my home directory (ext4), hence read performance should be reasonable.
3) When playing the movie from my home dir, no stuttering occurs. Hence I'd rule out an mplayer or sound card issue.
Now I don't know what I can do about zfs on linux. Read performance seems to be ok and there seem to be no sound card issues. When I run bonnie or iozone, cpu usage stays below 20%, so that shouldn't cause an issue as well.
Any hints or tips on what I could look at next? Thanks!
Similar Messages
-
How do you use nfs + zfs on linux? I vaguely remember that there was some nfs functionality built into zfs, but i'm not sure if that works on linux also.
Currently i am using the standard nfs export method described in the wiki, which has the problem that bind mounts must happen after the zfs-mount service, and requires me to use a mount unit.
https://wiki.archlinux.org/index.php/ZFS#Bindmount
Last edited by teateawhy (2015-03-18 00:34:15)How do you use nfs + zfs on linux? I vaguely remember that there was some nfs functionality built into zfs, but i'm not sure if that works on linux also.
Currently i am using the standard nfs export method described in the wiki, which has the problem that bind mounts must happen after the zfs-mount service, and requires me to use a mount unit.
https://wiki.archlinux.org/index.php/ZFS#Bindmount
Last edited by teateawhy (2015-03-18 00:34:15) -
[SOLVED] What is the best way to use ZFS on linux-ck?
Hi, I've recently gotten into ZFS to replace my Intel FakeRaid array I had set up for my /home folder. All is well under the stock kernel, but I'm running into issues while trying to run it under linux-ck.
At boot systemd throws a fit, and in the emergency shell it seems that -CK cannot use the installed module (module not found). I noticed that the versions for -ck and -arch are currently slightly different, and tried recompiling -ck to match -arch's version to no avail.
Inspecting the PKGBUILDs for the zfs packages, it looks like they're designed to be built for the current [core] version of the stock kernel only, which would explain why -ck can't see the zfs module.
Is there an elegant, semi-automatic way to go about maintaining zfs/spl so that I can keep it up-to-date for the current linux-ck version?
Thanks!
Last edited by SirWuffleton (2014-05-09 11:22:06)graysky wrote:You will need to change the PKGBUILDs for zfs-git/spl-git to require linux-ck and linux-ck-headers rather than linux and linux-headers.
Okay, I was thinking it would be something along those lines. Thanks for the clarification.
After I modify the PKGBUILDs to use linux-ck, I should be able to build the modules against -ck even if I'm currently running -arch, correct? Just want make sure, since I'd like to avoid breaking ZFS on both kernels at the same time so I don't have to deal with some awkward situation where I need to build the modules against -ck from the emergency shell or something. -
Oboy. http://github.com/behlendorf/zfs
I've tried making PKGBUILD's. And spl build and installs fine, but I get a building error on zfs:
Making all in module
make[2]: Entering directory `/home/jerry/abs/zfs/src/behlendorf-zfs-4ab8c5c/arch/module'
make -C /usr/src/linux-2.6.35-ARCH SUBDIRS=`pwd` modules
make[3]: Entering directory `/usr/src/linux-2.6.35-ARCH'
CC [M] /home/jerry/abs/zfs/src/behlendorf-zfs-4ab8c5c/arch/module/avl/../../../module/avl/avl.o
/home/jerry/abs/zfs/src/behlendorf-zfs-4ab8c5c/arch/module/avl/../../../module/avl/avl.c:90:23: fatal error: sys/types.h: No such file or directory
compilation terminated.
make[5]: *** [/home/jerry/abs/zfs/src/behlendorf-zfs-4ab8c5c/arch/module/avl/../../../module/avl/avl.o] Error 1
make[4]: *** [/home/jerry/abs/zfs/src/behlendorf-zfs-4ab8c5c/arch/module/avl] Error 2
make[3]: *** [_module_/home/jerry/abs/zfs/src/behlendorf-zfs-4ab8c5c/arch/module] Error 2
make[3]: Leaving directory `/usr/src/linux-2.6.35-ARCH'
make[2]: *** [modules] Error 2
make[2]: Leaving directory `/home/jerry/abs/zfs/src/behlendorf-zfs-4ab8c5c/arch/module'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jerry/abs/zfs/src/behlendorf-zfs-4ab8c5c/arch'
make: *** [all] Error 2
I don't know what this error is. Could it be a bug in gcc? -
WVC80N problems - linux mplayer capture, FTP issues
This camera was very stable for months, not sure what that heck happened about a month ago.
First off, only use this on Linux OS. I use mplayer to capture a still image every minute. Used to be very stable, for weeks on end (the linux way!). About a month ago the cam would just freeze, I could access the cam through the network but could not capture an image (either viewing on network page or via mplayer). The only way would be to reboot the camera and all was fine for a few hours before it would freeze again. I have not been able to fix this problem.
Now I decided to try the motion detection FTP feature. No luck, I cannot get the cam to find my ftp server. I can access this server from my other computers (including my windows box). I opened the port, no dice, nothing. Never seen an image saved via the motion sensor FTP option.
I anyone out there able to use the FTP feature (preferably on linux)??
Thanks so much for any help or feedback on this...
Charles
(www.camasweather.com)Problem solved. I finally got around to reading the manual and the answer was right there in an appendix. Using linux all you need to do is...
curl -o 00000001.jpg http://192.168.1.115/img/snapshot.cgi?size=3&quality=1
Substitute the ip address of your cam. I save a time dated file and send it to my web server and can run a time lapse of my cam. Been very stable so far.
Hope this helps someone,
CR -
(Native?) ZFS on Linux. Hmm...
http://www.phoronix.com/scan.php?page=n … &px=ODgyNA
Has anybody tried any of that? I'd like to see a PKGBUILD or something.Do you really expect a FS with end to end checksumming and such a large amount of features to be as fast as a "basic" filesystem?
ZFS is first and foremost about data integrity and scalabilty, anything else is secondary.
Consider a mirror setup using a standard FS , if a bit of data gets screwed on drive 1 then the same bit of data gets screwed on drive 2, not so with ZFS. With the checksumming drive 2 recognizes that bit of data is corrupted and self-heals it with the correct data.
Compare creating mirrors, RAID5, LVM's etc between a normal FS and ZFS, ie RAID 5 with 1 disk for parity
zfs create tank raidz1 /dev/ada0 /dev/ada1 /dev/ada2
Snapshots.. its simple to roll back to any of these points in time.
NAME USED AVAIL REFER MOUNTPOINT
tank/home/[email protected] 15.0M - 861M -
tank/home/[email protected] 15.5M - 862M -
tank/home/[email protected] 13.2M - 835M -
tank/home/[email protected] 1.69M - 837M -
tank/home/[email protected] 31.7M - 869M -
tank/home/[email protected] 354K - 837M -
tank/home/[email protected] 1.65M - 838M -
tank/home/[email protected] 480K - 837M -
/* snip */
I'd really suggest looking at all the things ZFS offers and then how fast it is all things considered, my workstation storage pool uses mirrored WD caviar blacks 1TB's and gets 250MB | 109MB read/writes, pretty fast enough. -
Trouble installing ZFS in archlinux kernel 3.6.3-1-ARCH
I've been trying to install ZFS on my system, and i can't get past a building error for SPL, here is my install output:
==> Downloading zfs PKGBUILD from AUR...
x zfs_preempt.patch
x zfs.install
x PKGBUILD
Comment by: modular on Wed, 24 Oct 2012 03:09:04 +0000
@demizer
I don't/won't run ZFS as a root file system. I'm getting the following build error:
http://pastebin.com/ZcWiaViK
Comment by: demizer on Wed, 24 Oct 2012 04:11:54 +0000
@modular, You're trying to build with the 3.6.2 kernel. The current version (rc11) does not work with the 3.6.2 kernel. If you want to use it, you will have to downgrade to the 3.5.6 kernel (linux and linux-headers). https://wiki.archlinux.org/index.php/Downgrading_Packages
Thanks!
Comment by: MilanKnizek on Wed, 24 Oct 2012 08:07:19 +0000
@demizer: there still seemed to be a problem during upgrading - zfs/spl requires kernel of certain version (hard-coded) and this blocks the upgrade (the old installed zfs/spl requires the old kernel and kernel can't be upgraded w/o breaking dependency of zfs/spl and therefore build of the new zfs/spl fails, too).
So far, I have had to remove zpl/spl, upgrade kernel, rebuild + install spl/zfs and manually run depmod against the new kernel (i.e. the postinst: depmod -a does not work until next reboot) and only then reboot to load the new kernel zfs modules successfully.
That is quite clumsy and error-prone - I hope it will be resolved via DMKS.
Comment by: srf21c on Sun, 28 Oct 2012 04:00:31 +0000
All, if you're suffering zfs kernel upgrade pain fatigue, seriously consider going with the LTS (long term support) kernel. I just successfully built zfs on a system that I switched to the linux-lts 3.0.48-1. All you have to do is install the linux-lts and linux-lts-headers packages, reboot to the lts kernel, and change any instances of depends= or makedepends= lines in the package build file like so:
Before:
depends=('linux=3.5' "spl=${pkgver}" "zfs-utils=${pkgver}")
makedepends=('linux-headers=3.5')
After:
depends=('linux-lts=3.0' "spl=${pkgver}" "zfs-utils=${pkgver}")
makedepends=('linux-lts-headers=3.0')
Then build and install each package in this order: spl-utils,spl,zfs-utils,zfs.
Worked like a champ for me.
Comment by: stoone on Mon, 29 Oct 2012 12:09:29 +0000
If you keep the linux, and linux-headers packages while using the LTS you don't need to modify the PKGBUILDs. Because the checks will pass but it will build the packages to your current runnning kernel.
Comment by: demizer on Mon, 29 Oct 2012 15:56:27 +0000
Hey everybody, just a quick update. The new build tool I have been working on is now in master, https://github.com/demizer/aur-zfs. With it you can build and package two different groups of packages one for aur and one for split. Again, building the split packages is more efficient. I still have a lot of work to be done, but it is progressing. I will be adding git, dkms, and lts packages after I setup my repo. My next step is to add unofficial repository support to my build tool so I can easily setup a repo with precompiled binaries. I will be hosting the repo on my website at http://demizerone.com/archzfs. Initially it will only be for 64bit code since the ZOL FAQ states that ZOL is very unstable with 32bit code due to memory management differences in Solaris and Linux. I will notify you all in the future when that is ready to go.
@MilanKnizek, Yes updating is a pain. ZFS itself is hard-coded to linux versions at build time. The ZFS build tool puts the modules in "/usr/lib/modules/3.5.6-1-ARCH/addon/zfs/", and this the primary reason it has to be rebuilt each upgrade, even minor point releases. Nvidia for example puts their module in "/usr/lib/modules/extramodules-3.5-ARCH/", so minor point releases are still good and the nvidia package doesn't need to be re-installed. A possible reason for ZOL to be hard-coded like this because ZOL is still technically very beta code.
I do have a question for the community, does anyone use ZFS on a 32bit system?
Thanks!
First Submitted: Thu, 23 Sep 2010 08:50:51 +0000
zfs 0.6.0_rc11-2
( Unsupported package: Potentially dangerous ! )
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n
==> zfs dependencies:
- linux>=3.5 (already installed)
- linux-headers>=3.5 (already installed)
- spl>=0.6.0_rc11 (building from AUR)
- zfs-utils>=0.6.0_rc11 (building from AUR)
==> Edit zfs.install ? [Y/n] ("A" to abort)
==> ---------------------------------------
n
==> Continue building zfs ? [Y/n]
==> -----------------------------
==>
==> Building and installing package
==> Install or build missing dependencies for zfs:
==> Downloading spl PKGBUILD from AUR...
x spl.install
x PKGBUILD
Comment by: timemaster on Mon, 15 Oct 2012 22:42:32 +0000
I am not able to compile this package after the upgrade to the 3.6 kernel. Anyone else ? any idea?
Comment by: mikers on Mon, 15 Oct 2012 23:34:17 +0000
rc11 doesn't support Linux 3.6; there are some patches on GitHub that might apply against it (I've not done it myself), see:
https://github.com/zfsonlinux/spl/pull/179
https://github.com/zfsonlinux/zfs/pull/1039
Otherwise downgrade to Linux 3.5.x or linux-lts and wait for rc12.
Comment by: timemaster on Mon, 15 Oct 2012 23:54:03 +0000
Yes, I saw that too late.
https://github.com/zfsonlinux/zfs/commit/ee7913b644a2c812a249046f56eed39d1977d706
Comment by: demizer on Tue, 16 Oct 2012 07:00:16 +0000
Looks like the patches have been merged, now we wait for rc12.
Comment by: vroomanj on Fri, 26 Oct 2012 17:07:19 +0000
@demizer: 3.6 support is available in the master builds, which are stable but not officially released yet. Can't the build be updated to use the master tars?
https://github.com/zfsonlinux/spl/tarball/master
https://github.com/zfsonlinux/zfs/tarball/master
Comment by: demizer on Fri, 26 Oct 2012 17:51:42 +0000
@vroomanj, I plan on working on the git packages this weekend. All I have to figure out if it is going to be based on an actual git clone or if its just going to be the download links you provided. They are pretty much the same, but i'm not really clear what the Arch Package Guidelines say about this yet. Also, I don't think the current packages in AUR now should be based off of git master. They should be based off of the ZOL stable releases (rc10, rc11, ...). That's why I am making git packages so people can use them if they want to upgrade to the latest kernel and the stable release hasn't been made yet. As is the case currently.
First Submitted: Sat, 26 Apr 2008 14:34:31 +0000
spl 0.6.0_rc11-2
( Unsupported package: Potentially dangerous ! )
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n
==> spl dependencies:
- linux>=3.5 (already installed)
- spl-utils>=0.6.0_rc11 (already installed)
- linux-headers>=3.5 (already installed)
==> Edit spl.install ? [Y/n] ("A" to abort)
==> ---------------------------------------
==> n
==> Continue building spl ? [Y/n]
==> -----------------------------
==>
==> Building and installing package
==> Making package: spl 0.6.0_rc11-2 (Tue Oct 30 11:34:13 CET 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
-> Downloading spl-0.6.0-rc11.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 178 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 136 100 136 0 0 154 0 --:--:-- --:--:-- --:--:-- 293
100 508k 100 508k 0 0 357k 0 0:00:01 0:00:01 --:--:-- 1245k
==> Validating source files with md5sums...
spl-0.6.0-rc11.tar.gz ... Passed
==> Extracting Sources...
-> Extracting spl-0.6.0-rc11.tar.gz with bsdtar
==> Starting build()...
configure.ac:34: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see:
configure.ac:34: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_INIT_AUTOMAKE-invocation
checking metadata... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports nested variables... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking spl license... GPL
checking linux distribution... arch
checking default package type... arch
checking whether rpm is available... no
checking whether rpmbuild is available... no
checking whether dpkg is available... no
checking whether dpkg-buildpackage is available... no
checking whether alien is available... no
checking whether pacman is available... yes (4.0.3)
checking whether makepkg is available... yes (4.0.3)
checking spl config... kernel
checking kernel source directory... /usr/src/linux-3.6.3-1-ARCH
checking kernel build directory... /usr/src/linux-3.6.3-1-ARCH
checking kernel source version... 3.6.3-1-ARCH
checking kernel file name for module symbols... Module.symvers
checking whether debugging is enabled... no
checking whether basic debug logging is enabled... yes
checking whether basic kmem accounting is enabled... yes
checking whether detailed kmem tracking is enabled... no
checking whether modules can be built... yes
checking whether atomic types use spinlocks... no
checking whether kernel defines atomic64_t... yes
checking whether kernel defines atomic64_cmpxchg... no
checking whether kernel defines atomic64_xchg... yes
checking whether kernel defines uintptr_t... yes
checking whether INIT_WORK wants 3 args... no
checking whether register_sysctl_table() wants 2 args... no
checking whether set_shrinker() available... no
checking whether shrinker callback wants 3 args... no
checking whether struct path used in struct nameidata... yes
checking whether task_curr() is available... no
checking whether unnumbered sysctl support exists... no
checking whether struct ctl_table has ctl_name... no
checking whether fls64() is available... yes
checking whether device_create() is available... yes
checking whether device_create() wants 5 args... yes
checking whether class_device_create() is available... no
checking whether set_normalized_timespec() is available as export... yes
checking whether set_normalized_timespec() is an inline... yes
checking whether timespec_sub() is available... yes
checking whether init_utsname() is available... yes
checking whether header linux/fdtable.h exists... yes
checking whether files_fdtable() is available... yes
checking whether __clear_close_on_exec() is available... yes
checking whether header linux/uaccess.h exists... yes
checking whether kmalloc_node() is available... yes
checking whether monotonic_clock() is available... no
checking whether struct inode has i_mutex... yes
checking whether struct mutex has owner... yes
checking whether struct mutex owner is a task_struct... yes
checking whether mutex_lock_nested() is available... yes
checking whether on_each_cpu() wants 3 args... yes
checking whether kallsyms_lookup_name() is available... yes
checking whether get_vmalloc_info() is available... no
checking whether symbol *_pgdat exist... yes
checking whether first_online_pgdat() is available... no
checking whether next_online_pgdat() is available... no
checking whether next_zone() is available... no
checking whether pgdat_list is available... no
checking whether global_page_state() is available... yes
checking whether page state NR_FREE_PAGES is available... yes
checking whether page state NR_INACTIVE is available... no
checking whether page state NR_INACTIVE_ANON is available... yes
checking whether page state NR_INACTIVE_FILE is available... yes
checking whether page state NR_ACTIVE is available... no
checking whether page state NR_ACTIVE_ANON is available... yes
checking whether page state NR_ACTIVE_FILE is available... yes
checking whether symbol get_zone_counts is needed... no
checking whether user_path_dir() is available... yes
checking whether set_fs_pwd() is available... no
checking whether set_fs_pwd() wants 2 args... yes
checking whether vfs_unlink() wants 2 args... yes
checking whether vfs_rename() wants 4 args... yes
checking whether vfs_fsync() is available... yes
checking whether vfs_fsync() wants 2 args... yes
checking whether struct fs_struct uses spinlock_t... yes
checking whether struct cred exists... yes
checking whether groups_search() is available... no
checking whether __put_task_struct() is available... yes
checking whether proc_handler() wants 5 args... yes
checking whether kvasprintf() is available... yes
checking whether rwsem_is_locked() acquires sem->wait_lock... no
checking whether invalidate_inodes() is available... no
checking whether invalidate_inodes_check() is available... no
checking whether invalidate_inodes() wants 2 args... yes
checking whether shrink_dcache_memory() is available... no
checking whether shrink_icache_memory() is available... no
checking whether symbol kern_path_parent exists in header... no
checking whether kern_path_parent() is available... no
checking whether zlib_deflate_workspacesize() wants 2 args... yes
checking whether struct shrink_control exists... yes
checking whether struct rw_semaphore member wait_lock is raw... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating cmd/Makefile
config.status: creating module/Makefile
config.status: creating module/spl/Makefile
config.status: creating module/splat/Makefile
config.status: creating include/Makefile
config.status: creating scripts/Makefile
config.status: creating spl.spec
config.status: creating spl-modules.spec
config.status: creating PKGBUILD-spl
config.status: creating PKGBUILD-spl-modules
config.status: creating spl.release
config.status: creating dkms.conf
config.status: creating spl_config.h
config.status: executing depfiles commands
config.status: executing libtool commands
make all-recursive
make[1]: Entering directory `/tmp/yaourt-tmp-alex/aur-spl/src/spl-0.6.0-rc11'
Making all in module
make[2]: Entering directory `/tmp/yaourt-tmp-alex/aur-spl/src/spl-0.6.0-rc11/module'
make -C /usr/src/linux-3.6.3-1-ARCH SUBDIRS=`pwd` CONFIG_SPL=m modules
make[3]: Entering directory `/usr/src/linux-3.6.3-1-ARCH'
CC [M] /tmp/yaourt-tmp-alex/aur-spl/src/spl-0.6.0-rc11/module/spl/../../module/spl/spl-debug.o
CC [M] /tmp/yaourt-tmp-alex/aur-spl/src/spl-0.6.0-rc11/module/spl/../../module/spl/spl-proc.o
CC [M] /tmp/yaourt-tmp-alex/aur-spl/src/spl-0.6.0-rc11/module/spl/../../module/spl/spl-kmem.o
CC [M] /tmp/yaourt-tmp-alex/aur-spl/src/spl-0.6.0-rc11/module/spl/../../module/spl/spl-thread.o
CC [M] /tmp/yaourt-tmp-alex/aur-spl/src/spl-0.6.0-rc11/module/spl/../../module/spl/spl-taskq.o
CC [M] /tmp/yaourt-tmp-alex/aur-spl/src/spl-0.6.0-rc11/module/spl/../../module/spl/spl-rwlock.o
CC [M] /tmp/yaourt-tmp-alex/aur-spl/src/spl-0.6.0-rc11/module/spl/../../module/spl/spl-vnode.o
/tmp/yaourt-tmp-alex/aur-spl/src/spl-0.6.0-rc11/module/spl/../../module/spl/spl-vnode.c: In function 'vn_remove':
/tmp/yaourt-tmp-alex/aur-spl/src/spl-0.6.0-rc11/module/spl/../../module/spl/spl-vnode.c:327:2: error: implicit declaration of function 'path_lookup' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[5]: *** [/tmp/yaourt-tmp-alex/aur-spl/src/spl-0.6.0-rc11/module/spl/../../module/spl/spl-vnode.o] Error 1
make[4]: *** [/tmp/yaourt-tmp-alex/aur-spl/src/spl-0.6.0-rc11/module/spl] Error 2
make[3]: *** [_module_/tmp/yaourt-tmp-alex/aur-spl/src/spl-0.6.0-rc11/module] Error 2
make[3]: Leaving directory `/usr/src/linux-3.6.3-1-ARCH'
make[2]: *** [modules] Error 2
make[2]: Leaving directory `/tmp/yaourt-tmp-alex/aur-spl/src/spl-0.6.0-rc11/module'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/yaourt-tmp-alex/aur-spl/src/spl-0.6.0-rc11'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build spl.
==> Restart building spl ? [y/N]
==> ----------------------------
... i'm stuck here, can anyone help me with this one? please !Did you read the comments, either on the AUR page or in the output that you posted? They explain it.
-
Thoughts on ZFS-FUSE stability?
I'm considering putting ZFS on my home file server for the data drives, and setting it up for mirrored RAID. I was wondering if anyone had any experiences with it as far as stability and data loss, good or bad. Performance isn't a HUGE concern, since it's just for my own use. I do keep backups on an external hard drive in any case, but that's one of those things you hope you never have to use.
So has anyone used ZFS-FUSE extensively, and if so, how was your experience with it? Is it ready for prime time, or not?Well, since few people seem to be talking about the current state of ZFS on Linux, I'll offer my experience:
Other than a solvable bug preventing some filesystems from NFS export (affects ZFS and other FS as well), I've found ZFS-FUSE to be a pleasure to use. ZFS is much more mature than BTRFS and I think a production-functional kernel module is not far away. BTRFS has had recent data loss issues and I wouldn't trust my important data to it yet.
I am running a 4-disk RAIDZ2 setup with 4 2TB disks that gives me ~3.7TB of usable space with dual redundancy. If you decide to expand your storage, ZFS makes it a breeze. NFS exporting with ZFS is also super easy, as long as you organize your ZFS 'filesystems' properly. It's a bit different thinking about ZFS filesystems but I really like it (individual permissions and sharing settings, variable size, nestable) now that I'm used to it. I also have no trouble sharing the filesystems over Samba to my Windows boxes.
ZFS-FUSE is not blazing fast but it's fast enough for my NAS running backups and serving high-bandwidth media. The self-checking/self-healing feature gives me a calm feeling about data I haven't had before. It's easy to get status and statistics about the current state of the FS from the zfs and zpool commands. I only wish I'd switched my NAS to ZFS sooner!
EDIT: This post by a BSD user describes well how I feel about ZFS:
ZFS is not just only another filesystem. And there are faster filesystems out there.
But if you need the features of ZFS, it is the best you have ever worked with.
http://hub.opensolaris.org/bin/view/Com … zfs/whatis
Last edited by doublerebel (2011-09-22 20:26:20) -
Is there any shadow copy in linux
If you use ZFS on Linux (not that I'm saying you should) you get a third way to do this as well.
Shadow Copy in Windows is actually a feature that Linux had long before and Microsoft was embarrassed for going so long without having it. It's famously one of the big "finally Windows is catching up" features where every OS had it years before them.
Shadow Copy is just another name for snapshots. Linux uses LVM as its main snapshot tool although snapshotting is starting to appear as an extra tool in BtrFS too.
-
Hello
After having some serious issues with data corruption on ext3 and 4 over time, I have decided to start using ZFS on the disk. After what I have read, ZFS is the superb filesystem for avoiding data corruption, as far as I have understood zfs-fuse (http://aur.archlinux.org/packages.php?ID=8003) to use zfs with linux, or is there any better option?
And Ive heard that zfs requires alot of the machine? And is there any other alternatives?he means until it's stable in the kernel. which could take a loong while I think. (personal guess: 2 years or so)
-
Problem with partitioning - disk permanently falls back to old p-table
Hey Guys!
I'm quite desperate and can't find answers for the following problem - maybe some of you already had a similiar problem.
I want to reuse a SSD that I used on a different machine as primary system drive. It's partition-table:
# fdisk -l /dev/sda
Disk /dev/sda: 119.2 GiB, 128035676160 bytes, 250069680 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x0004f0e5
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 499711 497664 243M 83 Linux
/dev/sda2 501758 250068991 249567234 119G 5 Extended
/dev/sda5 501760 250068991 249567232 119G 8e Linux LVM
There is a LVM volume group with two volumes (root and swap) on sda5. No matter how I try to destroy the LVM setup and the partitioning, it is always "reseted" to this setup.
I tried: lvremove, vgremove, pvremove, fdisk, cfdisk, gdisk, cgdisk, dd from /dev/null, testdisk - with and without reboots, from arch-linux booted from usb and from an ubuntu-live-cd. No matter what, the partitioning does not change.
Why I want to reformat it? I want to use the drive as cache for zfs-on-linux.
It feels like the drive is somehow write-protected.
Has anyone suggestions what to try next?Thanks @ROOKIE
Sadly didn't work either - see below. Underneath I added results of smart-tests - maybe I miss something.
$ sudo lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 119.2G 0 disk
|-sda1 8:1 0 243M 0 part
|-sda2 8:2 0 1K 0 part
`-sda5 8:5 0 119G 0 part
sdc 8:32 1 7.4G 0 disk
|-sdc1 8:33 1 512M 0 part
`-sdc2 8:34 1 6.9G 0 part
sdd 8:48 1 7.4G 0 disk
|-sdd1 8:49 1 512M 0 part /boot
`-sdd2 8:50 1 6.9G 0 part
sr0 11:0 1 1024M 0 rom
zram0 254:0 0 75.1M 0 disk [SWAP]
zram1 254:1 0 75.1M 0 disk [SWAP]
zram2 254:2 0 75.1M 0 disk [SWAP]
zram3 254:3 0 75.1M 0 disk [SWAP]
$ sudo blkdiscard -v /dev/sda
/dev/sda: Discarded 128035676160 bytes from the offset 0
$ sudo blkdiscard -v /dev/sda
/dev/sda: Discarded 128035676160 bytes from the offset 0
$ sudo fdisk /dev/sda
Welcome to fdisk (util-linux 2.26.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Command (m for help): o
Created a new DOS disklabel with disk identifier 0x591d429c.
Command (m for help): w
The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.
$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 119.2G 0 disk
|-sda1 8:1 0 243M 0 part
|-sda2 8:2 0 1K 0 part
`-sda5 8:5 0 119G 0 part
sdc 8:32 1 7.4G 0 disk
|-sdc1 8:33 1 512M 0 part
`-sdc2 8:34 1 6.9G 0 part
sdd 8:48 1 7.4G 0 disk
|-sdd1 8:49 1 512M 0 part /boot
`-sdd2 8:50 1 6.9G 0 part
sr0 11:0 1 1024M 0 rom
zram0 254:0 0 75.1M 0 disk [SWAP]
zram1 254:1 0 75.1M 0 disk [SWAP]
zram2 254:2 0 75.1M 0 disk [SWAP]
zram3 254:3 0 75.1M 0 disk [SWAP]
$ sudo blkdiscard -v /dev/sda
/dev/sda: Discarded 128035676160 bytes from the offset 0
$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 119.2G 0 disk
|-sda1 8:1 0 243M 0 part
|-sda2 8:2 0 1K 0 part
`-sda5 8:5 0 119G 0 part
sdc 8:32 1 7.4G 0 disk
|-sdc1 8:33 1 512M 0 part
`-sdc2 8:34 1 6.9G 0 part
sdd 8:48 1 7.4G 0 disk
|-sdd1 8:49 1 512M 0 part /boot
`-sdd2 8:50 1 6.9G 0 part
sr0 11:0 1 1024M 0 rom
zram0 254:0 0 75.1M 0 disk [SWAP]
zram1 254:1 0 75.1M 0 disk [SWAP]
zram2 254:2 0 75.1M 0 disk [SWAP]
zram3 254:3 0 75.1M 0 disk [SWAP]
I checked smart too now:
$ sudo smartctl -t long /dev/sda
smartctl 6.3 2014-07-26 r3976 [x86_64-linux-3.19.3-3-ARCH] (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION ===
Sending command: "Execute SMART Extended self-test routine immediately in off-line mode".
Drive command "Execute SMART Extended self-test routine immediately in off-line mode" successful.
Testing has begun.
Please wait 1 minutes for test to complete.
Test will complete after Fri Apr 17 12:22:27 2015
Use smartctl -X to abort test.
$ sudo smartctl -H /dev/sda
smartctl 6.3 2014-07-26 r3976 [x86_64-linux-3.19.3-3-ARCH] (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
$ sudo smartctl -a /dev/sda
smartctl 6.3 2014-07-26 r3976 [x86_64-linux-3.19.3-3-ARCH] (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: JMicron based SSDs
Device Model: KINGSTON SNV425S2128GB
Serial Number: 07WA50010371
Firmware Version: D100309a
User Capacity: 128,035,676,160 bytes [128 GB]
Sector Size: 512 bytes logical/physical
Rotation Rate: Solid State Device
Form Factor: 2.5 inches
Device is: In smartctl database [for details use: -P show]
ATA Version is: ATA8-ACS (minor revision not indicated)
SATA Version is: SATA 2.6, 3.0 Gb/s
Local Time is: Fri Apr 17 12:31:57 2015 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
General SMART Values:
Offline data collection status: (0x00) Offline data collection activity
was never started.
Auto Offline Data Collection: Disabled.
Self-test execution status: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: ( 30) seconds.
Offline data collection
capabilities: (0x1b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
No Conveyance Self-test supported.
No Selective Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
General Purpose Logging supported.
Short self-test routine
recommended polling time: ( 1) minutes.
Extended self-test routine
recommended polling time: ( 1) minutes.
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x000b 100 100 050 Pre-fail Always - 0
2 Throughput_Performance 0x0005 100 100 050 Pre-fail Offline - 0
3 Unknown_Attribute 0x0007 100 100 050 Pre-fail Always - 0
5 Reallocated_Sector_Ct 0x0013 100 100 050 Pre-fail Always - 0
7 Unknown_Attribute 0x000b 100 100 050 Pre-fail Always - 0
8 Unknown_Attribute 0x0005 100 100 050 Pre-fail Offline - 0
9 Power_On_Hours 0x0012 100 100 000 Old_age Always - 12054
10 Unknown_Attribute 0x0013 100 100 050 Pre-fail Always - 0
12 Power_Cycle_Count 0x0012 100 100 000 Old_age Always - 5448
168 SATA_Phy_Error_Count 0x0012 100 100 000 Old_age Always - 0
175 Bad_Cluster_Table_Count 0x0003 100 100 010 Pre-fail Always - 29
192 Unexpect_Power_Loss_Ct 0x0012 100 100 000 Old_age Always - 0
194 Temperature_Celsius 0x0022 052 100 020 Old_age Always - 52 (Min/Max 29/52)
197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 0
240 Unknown_Attribute 0x0013 100 100 050 Pre-fail Always - 0
170 Bad_Block_Count 0x0003 100 100 010 Pre-fail Always - 144 329 118
173 Erase_Count 0x0012 100 100 000 Old_age Always - 6399 10521 7887
SMART Error Log Version: 1
ATA Error Count: 153 (device log contains only the most recent five errors)
CR = Command Register [HEX]
FR = Features Register [HEX]
SC = Sector Count Register [HEX]
SN = Sector Number Register [HEX]
CL = Cylinder Low Register [HEX]
CH = Cylinder High Register [HEX]
DH = Device/Head Register [HEX]
DC = Device Command Register [HEX]
ER = Error register [HEX]
ST = Status register [HEX]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.
Error 153 occurred at disk power-on lifetime: 11818 hours (492 days + 10 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
40 51 00 28 66 d3 eb Error: UNC at LBA = 0x0bd36628 = 198403624
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
c8 00 08 28 66 d3 eb 08 36d+21:07:12.000 READ DMA
ec 00 00 00 00 00 a0 08 36d+21:07:12.000 IDENTIFY DEVICE
ef 03 45 00 00 00 a0 08 36d+21:07:12.000 SET FEATURES [Set transfer mode]
ec 00 00 00 00 00 a0 08 36d+21:07:12.000 IDENTIFY DEVICE
c8 00 08 28 66 d3 eb 08 36d+21:07:12.000 READ DMA
Error 152 occurred at disk power-on lifetime: 11818 hours (492 days + 10 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
40 51 00 28 66 d3 eb Error: UNC at LBA = 0x0bd36628 = 198403624
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
c8 00 08 28 66 d3 eb 08 36d+21:07:12.000 READ DMA
c8 00 08 20 66 d3 eb 08 36d+21:07:12.000 READ DMA
c8 00 08 18 66 d3 eb 08 36d+21:07:12.000 READ DMA
c8 00 08 10 66 d3 eb 08 36d+21:07:12.000 READ DMA
c8 00 08 08 66 d3 eb 08 36d+21:07:12.000 READ DMA
Error 151 occurred at disk power-on lifetime: 11818 hours (492 days + 10 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
40 51 00 00 66 d3 eb Error: UNC at LBA = 0x0bd36600 = 198403584
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
c8 00 00 00 66 d3 eb 08 36d+21:07:12.000 READ DMA
c8 00 00 00 65 d3 eb 08 36d+21:07:12.000 READ DMA
c8 00 00 00 64 d3 eb 08 36d+21:07:12.000 READ DMA
c8 00 00 00 63 d3 eb 08 36d+21:07:12.000 READ DMA
c8 00 00 00 62 d3 eb 08 36d+21:07:12.000 READ DMA
Error 150 occurred at disk power-on lifetime: 6211 hours (258 days + 19 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
40 51 00 a8 f6 75 eb Error: UNC at LBA = 0x0b75f6a8 = 192280232
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
c8 00 08 a8 f6 75 eb 08 04:55:01.600 READ DMA
ec 00 00 00 00 00 a0 08 04:55:01.600 IDENTIFY DEVICE
ef 03 45 00 00 00 a0 08 04:55:01.600 SET FEATURES [Set transfer mode]
ec 00 00 00 00 00 a0 08 04:55:01.600 IDENTIFY DEVICE
c8 00 08 a8 f6 75 eb 08 04:55:01.500 READ DMA
Error 149 occurred at disk power-on lifetime: 6211 hours (258 days + 19 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
40 51 00 a8 f6 75 eb Error: UNC at LBA = 0x0b75f6a8 = 192280232
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
c8 00 08 a8 f6 75 eb 08 04:55:01.500 READ DMA
c8 00 08 a0 f6 75 eb 08 04:55:01.500 READ DMA
c8 00 08 98 f6 75 eb 08 04:55:01.500 READ DMA
c8 00 08 90 f6 75 eb 08 04:55:01.500 READ DMA
c8 00 08 88 f6 75 eb 08 04:55:01.500 READ DMA
SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Extended offline Completed without error 00% 12054 -
# 2 Extended offline Completed without error 00% 11117 -
# 3 Short offline Completed without error 00% 11116 -
# 4 Extended offline Completed without error 00% 11100 -
# 5 Short offline Completed without error 00% 6804 -
# 6 Short offline Completed without error 00% 2818 -
# 7 Short offline Completed without error 00% 2750 -
# 8 Short offline Completed without error 00% 2744 -
# 9 Short offline Aborted by host 00% 2521 -
#10 Short offline Completed without error 00% 2448 -
#11 Short offline Completed without error 00% 2290 -
#12 Short offline Completed without error 00% 2120 -
#13 Short offline Completed without error 00% 2021 -
#14 Short offline Completed without error 00% 1936 -
#15 Short offline Completed without error 00% 1859 -
#16 Short offline Completed without error 00% 1823 -
#17 Short offline Completed without error 00% 1727 -
#18 Short offline Completed without error 00% 1687 -
#19 Short offline Completed without error 00% 1580 -
#20 Short offline Completed without error 00% 1292 -
#21 Short offline Completed without error 00% 1245 -
Selective Self-tests/Logging not supported -
Vp7 codec - any way to play or re-encode it?
Hi,
I have several videos encoded with vp7 (or vp70, as mplayer tells me).
Is there any way to play or re-encode to some other coded on a 64 Bit arch linux system?
Thanks!
NathanI know, old topic, but solution does exist. Just install codecs from AUR. It's some kind of "K-lite codec pack" for Linux, Mplayer works with them perfectly
-
K8N Diamond+ 6600GT=green videos
hello.
i have the following problem: since i upgraded my system to winchester 3000+, msi K8N diamond sli and msi 6600gt pci-e all the videos (avi + mpg) are shown in green, a green checkpattern or even freeze the system.´
first i tought it may be a codec prob, but uninstalling and installing correct codes and even trying playerz with build in codecs such as the (linux) mplayer - but that didnt help.
so, at last, i reinstalled my system:
1. windows xp pro
2. sp 1a
3. 6.37 mobo drviers (i am using that beta dirver, since all other mobodrivers cause problems with online gaming and surveyprogs like everest, butnevertheless i tried official drivers as well-still didnt help)
4. directx 9c
trying to play a video with the mplayer works as fine as it should without a videocard driver.
but as soon as i install a videocard driver the above discribed problems reoccur.
i tried various drivers, starting from the 66.93 from nvidia hp, the msi dirver from the cd delivered with the vidcard, the drivers form msi hp, and of course plenty of drivers i found on guru3d.com, including the latest 71.80, nad "old-school-drivers" like 66.00.
i testet the temperature via everest. in idle mode cpu and gpu are below 40°C. bios proves everest right. so it cant be a temp prob.
i had no problems, artefacts , whatsoever during the benchmarks (3dmark2001/2005). also Call of Duty and Doom 3 run perfectly for hours.
only Warcraft doesnt want to start....i get a green screen at the very beginnig...i suppose that is due to the video that is played at wc3startup.
with one beta driver (i think it was 66.10) i was able to activate hardwareoverlay, which did help playing videos "better", but then wc3 claimed it couldnot find directx. testing via dxdiag it showed direct 3d produced mistakes. asking google i decided to deaktivate all the none necessary crap in the bios (sil-controller, marvell lan, craetive sound) to avoid irq problems.
that made dxdiag happily testing the direct 3d, but still videos are green.
strangely, now i even cant choose that hardwareoverlay option anymore, and i havent found it in another driver yet
it seems that quicktime movies cause no trouble.
thinking it might be a problem with the 32bit mobo drivers i even installed the win xp pro 64 rc1 on my other hdd, putting on the brandnew 64bit mobo and vidcard drivers - same problem here.
this problem has kept me hostage for days and i start feeling a little despaired.
i was mighty happy if anyone could help me.
sincerely,
ben
ps: english is not my first language, so please apolgise bad grammar and spellingthank you very much for your reply, wonkanoby.
i tried various codecs and playerz with build in codecs. i even reinstalled my system 3 times - still videos are green with an vga driver installed.
also the fact that it does show videos correctly when no vga driver is installed shows it is not a codec problem.
annybody got other ideas?
sincerely, sick nick -
How to recover/update GUID_EXTERNAL between ODI and WLS
HI All,
I have lost my all security in a OBIA 11.1.1.7.1 environment, and I'm trying to recreate it. I've already recreated at WLS the following users biappsadmin (my OBIA admin user), BIAppsSystemUser and BISystemUser.
I've got to log into OBIEE again, but when I try to log into ODI Studio I've got the following error :
oracle.odi.core.security.BadCredentialsException: ODI-10163: This OPSS user biappsadmin has different GUID than the one found in Oracle Data Integrator repository.
at oracle.odi.core.security.SecurityManager.createAuthentication(SecurityManager.java:511)
at oracle.odi.core.security.SecurityManager.createAuthentication(SecurityManager.java:252)
at oracle.odi.ui.docking.panes.OdiCnxFactory$1.run(OdiCnxFactory.java:208)
at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)
at java.lang.Thread.run(Thread.java:662)
Then, looking at SNP_USER from <prefix>_BIA_ODIREPO I have the following :
I_WUSER --> 2500
WUSER_NAME --> biappsadmin
WUSER_INIT --> null,
PASS --> null,
AUT_SUPERVISOR -->1,
FIRST_DATE -->null,
FIRST_USER -->null,
LAST_DATE -->null,
LAST_USER -->null,
IND_CHANGE -->null,
EXT_VERSION -->null,
EXPIRACY_DATE ->null,
I_TXT_DETAIL -->null ,
USER_EXPIRACY_DATE --> null,
GUID_EXTERNAL --> 7D635A9155BD11E38F07A52086C80F5C
So, Is there a way to know what is the GUID that WLS has created to this user ? If dont, How to recover the security ?
Thanks in advance...Mr.Elendig wrote:Will work fine if you have the PKGBUILD build it against the installed kernel instead of the running one.
I googled it, but can't find the solution. Would you explain it a bit, for example, the PKGBUILD below, how to change it to let it compile against a specific version kernel? Thanks.
pkgname=('zfs')
# When changing versions, search and replace 0.6.0-rc11, using package
# variables breaks AUR parsing.
pkgver=0.6.0_rc11
pkgrel=2
arch=('i686' 'x86_64')
pkgdesc="Native ZFS for Linux"
url="http://zfsonlinux.org/"
depends=('linux-lts>=3.0' "spl>=${pkgver}" "zfs-utils>=${pkgver}")
makedepends=('linux-lts-headers>=3.0')
source=(http://github.com/downloads/zfsonlinux/zfs/zfs-0.6.0-rc11.tar.gz
zfs_preempt.patch
md5sums=('85435c100d9c1dadad7b961c3cb965f6'
'13d63bbc0497ccc03d982817b6319512')
license=('CDDL')
install=zfs.install
build() {
cd ${srcdir}/zfs-0.6.0-rc11
patch -p0 -i ${srcdir}/zfs_preempt.patch
./autogen.sh
./configure --with-config=kernel \
--prefix=/usr \
--sysconfdir=/etc \
--sbindir=/usr/sbin \
--libdir=/usr/lib \
--datadir=/usr/share \
--includedir=/usr/include \
--with-udevdir=/lib/udev \
--libexecdir=/usr/lib/zfs-0.6.0-rc11
make
package() {
cd ${srcdir}/zfs-0.6.0-rc11
make DESTDIR=${pkgdir} install
# move module tree /lib -> /usr/lib
cp -r ${pkgdir}/{lib,usr}
rm -r ${pkgdir}/lib -
How to embed mplayer in Linux with JNI
Hello All,
I was wondering if anyone here knows to get a Linux based video player to draw on the awt Canvas. I am trying to play the streaming video in ASX / WMV format on Linux. And MPlayer is one such player that can play almost anything.
For windows, there are a few options to embed the native media player and I am thinking of going with jawin as it hides most of the native implementation. But I have not much idea about how to do it in Linux. Couldn't find many examples / guides either.
If someone has an idea / links and would like to share it, it'll be highly appreciated.
Thanks in advance,
RexI could advance a little more and got the JNI library to draw on the awt Canvas. But still can't get another native program like gedit to draw on the Canvas.
This is what I am doing to draw the rectangles (from Sun's example) -
gc = XCreateGC(dsi_x11->display, dsi_x11->drawable, 0, 0);
XSetBackground(dsi_x11->display, gc, 0);
for (i=0; i<36;i++)
XSetForeground(dsi_x11->display, gc, 10*i);
XFillRectangle(dsi_x11->display, dsi_x11->drawable, gc,
10*i, 5, 90, 90);
XSetForeground(dsi_x11->display, gc, 155);
XDrawImageString(dsi_x11->display, dsi_x11->drawable, gc,
100, 110, testString, strlen(testString));
But how do I pass the handle 'gc' to another program like gedit to draw on this surface instead of opening it's own window ? It'll be a great help if someone could share an idea on this.
Thanks,
Rex
Maybe you are looking for
-
How can I disable Firefox from automaticly opening when I start my computer?
Hi there, I love firefox but I don't want it to open when I startup my desktop. What can I do to disable automatic opening by firefox? Thank you
-
Moving data from pc to mac with external hard drive
I moved my tunes and pictures from my pc to ext hd. Found hd on my mac, but nothing shows up in the hard drive folder on my mac... how come? what did i do wrong? Thanks, M
-
Does not matter what website, email or pop-up and try to print something. After you click okay on the print pop-up window it shuts down. The old version does not do that, so this tells me it is Version 4 that is the problem.
-
Address Book Suggestion: See who is NOT in a Group
I recently moved all of my contacts from Entourage to the Address Book in OS X, and am very happy with it. On top of the ease of use of the Address Book, its integration with MobileMe and the iPhone is wonderful. As I organized and updated my 300+ co
-
How to extract current record using get pernr (logical database)
Hi all, I am using logical database in the program and using <b>get pernr</b> method. But there are multiple entries in the infotype for a perticular employee. i want to extract employees current record whose end date is greater than sy-datum. how to