Mounting a UFS volume on CentOS 6
Okay. so I've got a FileServer that I've put a lot of work into; I decided to have one HDD be the OS, and my brand new 1TB drive be my actual file serving volume.
I got it set up, however ran into a few problems regarding my domain name, BSD, and then a bug, which led me to change my OS to CentOS 6.3. the problem is, that my fileserver volume is UFS which CentOS doesn't recognize by default. I Did some online searching, and found and installed the proper kernel module from here. however now when I attempt to mount it, I get this: Code:
[root@FileServer files]# mount -t ufs /dev/sda /mnt/FilServe/ Code:
[root@FileServer files]# dmesg | tail Code:
[root@FileServer files]# ls -al /dev/sda* |
A bit of a disclaimer, I'm not all familiar with UFS, so if what I'm saying sounds off, let me know. It looks like the mount command used only included the disk, not the partition. For example:
Code:
mount -t ufs /dev/sda /mnt/FilServe/ Code:
mount -t ufs /dev/sda1 /mnt/FilServe/ |
Quote:
|
I'm not sure if CentOS can mount UFS. I know the Linux kernel had modules for mounting UFS but last time I recall, it was read-only (and a warning about how dangerous it was also included). Perhaps the configuration is not set in the CentOS kernel?
|
That would support the error message. "kernel compiled as read only". Even so, It should at least MOUNT, if even as a read only file As for ufs being dangerous, I can't speak for that. I hadn't heard of the that type of file system until I installed freeNAS. But that said, freeNAS had absolutely no problems with it for about a month and a half
|
UFS isn't dangerous or anything, mounting it using the Linux kernel is what's dangerous.
|
All times are GMT -5. The time now is 03:04 PM. |