Archive for 'Linux Storage'

Printing tape drive serial numbers

While automating a process this week I needed a way to get the serial number off a batch of tape drives. At first I thought I could retrieve this information through /sys. But after a bunch of poking around with cat, systool and udevadm I realized I couldn’t get what I want through /sys. One […]

Creating happy little block devices with UDEV

I’m a long time admirer of Bob Ross and the amazing paintings he produced on his hit tv show the joy of painting. I’m equally a fan of udev and the power it places in administrators hands. While Bob painted amazing clouds, seascapes and mountains with a swipe of his brush I’m able to make […]

Locating WWPNs on Linux servers

I do a lot of storage-related work, and often times need to grab WWPNs to zone hosts and to mask storage. To gather the WWPNs I would often times use the following script on my RHEL and CentOS servers: #!/bin/sh FC_PATH=”/sys/class/fc_host” for fc_adapter in `ls ${FC_PATH}` do echo “${FC_PATH}/${fc_adapter}:” NAME=$(awk ‘{print $1}’ ${FC_PATH}/${fc_adapter}/symbolic_name ) echo […]

Installing ZFS on a CentOS 6 Linux server

As most of my long term readers know I am a huge Solaris fan. How can’t you love an Operating System that comes with ZFS, DTrace, Zones, FMA and Network Virtualization amongst other things? I use Linux during my day job, and I’ve been hoping for quite some time that Oracle would port one or […]

Another interesting finding about gluster replicas

In a previous post I talked about my problems getting gluster to expand the number of replicas in a volume. While experimenting with the gluster utilities “add-brick” option I wanted to see if adding two more bricks would replicate the existing data across four bricks (two old, two new), or if the two new bricks […]

Removing a gluster volume doesn’t remove the volume’s contents

I made another interesting discovery this weekend while playing around with the gluster volume deletion option. Prior to creating a volume with a new layout, I went through the documented process to remove my volume: $ gluster volume stop glustervol01 Stopping volume will make its data inaccessible. Do you want to continue? (y/n) y Stopping […]

« Older Entries