Tag Info

New answers tagged

6

dup2 doesn't return void, it returns int, so you should check its return code. If dup2 were failing for some reason and that was the problem then you wouldn't know about it. That being said, dup2 normally always works. There is one corner case that could cause what you are seeing: if sockfd is already 0. Then you'd be dup2ing 0 to 0 and then closing 0, ...


1

If you want to take one disk off the volume group from the current state, then your LVM setup being striped, it is not possible. But then, you probably won't have to migrate the whole system, but you can create a mirror of the existing stripped volume which will eventually help you take that one disk off from your setup. A few months back I had created a ...


0

I think you should first analyze the content of that disk with: # pvdisplay -v /dev/dsk/c3t6d0 | grep current | awk '{ print $3 }' | sort -u That will give you a list of logical volumes Then analyze how those volumes are stored with # lvdisplay -v <lvol> With that data you can take decisions. For instance, is there is only one logical volume in ...



Top 50 recent answers are included