On Wed, 13 Feb 2008, Carlos E. R. wrote:-
The Wednesday 2008-02-13 at 08:04 -0600, K.R. Foley wrote:
Now if /oradata02 (a new filesystem I created) points to the device /dev/sda, instead of /dev/sda1 (a partition on sda), will this be a problem ?
I don't believe you can do this. I may be wrong but I believe you will need to create a single partition /dev/sda1 that encompasses the entire disk and use that.
It is simple enough to test, but I don't have a spare disk to do the testing right now.
Virtual machines are so useful at times :-) Here's one test using a 2GB virtual drive. It's using /dev/sdb as the device because /dev/sda contains the OS and I don't quite feel like wiping that yet: lifter:~ # fdisk -l /dev/sdb Disk /dev/sdb: 2147 MB, 2147483648 bytes 255 heads, 63 sectors/track, 261 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00000000 Disk /dev/sdb doesn't contain a valid partition table lifter:~ # mkxfs /dev/sdb -bash: mkxfs: command not found lifter:~ # mke2fs /dev/sdb mke2fs 1.40.2 (12-Jul-2007) /dev/sdb is entire device, not just one partition! Proceed anyway? (y,n) y Filesystem label= OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2) 262144 inodes, 524288 blocks 26214 blocks (5.00%) reserved for the super user First data block=0 Maximum filesystem blocks=536870912 16 block groups 32768 blocks per group, 32768 fragments per group 16384 inodes per group Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912 Writing inode tables: done Writing superblocks and filesystem accounting information: done This filesystem will be automatically checked every 38 mounts or 180 days, whichever comes first. Use tune2fs -c or -i to override. lifter:~ # mount /dev/sdb /mnt lifter:~ # ls /mnt lost+found lifter:~ # umount /mnt lifter:~ # mkreiserfs /dev/sdb mkreiserfs 3.6.20 Copyright (C) 2001-2005 by Hans Reiser, licensing governed by reiserfsprogs/COPYING. A pair of credits: Hans Reiser was the project initiator, source of all funding for the first 5.5 years. He is the architect and official maintainer. Edward Shushkin wrote the encryption and compression file plugins, and the V3 journal relocation code. /dev/sdb is entire device, not just one partition! Use -f to force over lifter:~ # mkreiserfs /dev/sdb -f mkreiserfs 3.6.20 Copyright (C) 2001-2005 by Hans Reiser, licensing governed by reiserfsprogs/COPYING. A pair of credits: Many persons came to www.namesys.com/support.html, and got a question answered for $25, or just gave us a small donation there. Hans Reiser was the project initiator, source of all funding for the first 5.5 years. He is the architect and official maintainer. /dev/sdb is entire device, not just one partition! Continue (y/n):y Guessing about desired format.. Kernel 2.6.24-rc7-git5-2-pae is running. Format 3.6 with standard journal Count of blocks on the device: 524288 Number of blocks consumed by mkreiserfs formatting process: 8227 Blocksize: 4096 Hash function used to sort names: "r5" Journal Size 8193 blocks (first block 18) Journal Max transaction length 1024 inode generation number: 0 UUID: 74a4a6b0-13f3-4c66-b536-a0e75f467163 Syncing..ok ReiserFS is successfully created on /dev/sdb. lifter:~ # mount /dev/sdb /mnt lifter:~ # ls -l /mnt total 0 lifter:~ # umount /mnt lifter:~ # fdisk -l /dev/sdb Disk /dev/sdb: 2147 MB, 2147483648 bytes 255 heads, 63 sectors/track, 261 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00000000 Disk /dev/sdb doesn't contain a valid partition table lifter:~ # Regards, David Bolt -- Team Acorn: http://www.distributed.net/ OGR-P2 @ ~100Mnodes RC5-72 @ ~15Mkeys SUSE 10.1 32bit | openSUSE 10.2 32bit | openSUSE 10.3 32bit | openSUSE 11.0a1 SUSE 10.1 64bit | openSUSE 10.2 64bit | openSUSE 10.3 64bit RISC OS 3.6 | TOS 4.02 | openSUSE 10.3 PPC | RISC OS 3.11 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org