Expanding RAID volume on NAS326 is not working
Comments
-
I'm trying to follow the steps outlined by Joonas but I'm running into a problem when I try to check the file system on my disk before resizing the partition. I'm getting an error message saying /dev/md2 is in use. Is there any way to tell what process(es) are using it?
Edit: I did some more investigation. I haven't used LINUX before but when I did "mount | grep /dev/sd" I saw my device was sdc2. I tried "e2fsck -f /dev/sdc2" and got an error message saying the volume was mounted and I ran would severely damage the disk if I proceeded. The drive isn't in use other than what I'm doing to it currently so is this a boilerplate error or am I risking damaging the file system by doing the check?
0 -
Joonas list has one fatal flaw. After point 11 'enter :wq' you should run 'poweroff' to initiate the shutdown.
0 -
I am doing "poweroff" after exiting vi. Are there any other processes that might be keeping the drive open?0
-
lsof | grep /dev/md2might tell. I'm not sure if lsof is available.What does 'ps' say?0
-
Hello, I did the procedure
# umount /i-data/14fa6d39# e2fsck -f /dev/md2e2fsck 1.42.12 (29-Aug-2014)/dev/md2 is in use.e2fsck: Cannot continue, aborting.# resize2fs /dev/md2resize2fs 1.42.12 (29-Aug-2014)resize2fs: Device or resource busy while trying to open /dev/md2Couldn't find valid filesystem superblock.0 -
used e2fsck -f and resize2fs command on /dev/vg_5809fa3c/lv_94593ae instead of md2.
It finally worked fine. Thanks a lot Mijzelf for your explanations0 -
trying to edit /etc/init.d/rc.shutdown, permission denied. Any comments0
-
You need to become 'root' first, by executing 'su'.
1 -
Thank you Mijzelf, it worked out.
0
Categories
- All Categories
- 415 Beta Program
- 2.3K Nebula
- 142 Nebula Ideas
- 94 Nebula Status and Incidents
- 5.6K Security
- 228 USG FLEX H Series
- 266 Security Ideas
- 1.4K Switch
- 71 Switch Ideas
- 1K Wireless
- 39 Wireless Ideas
- 6.3K Consumer Product
- 244 Service & License
- 384 News and Release
- 82 Security Advisories
- 27 Education Center
- 8 [Campaign] Zyxel Network Detective
- 3.1K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 83 About Community
- 71 Security Highlight